Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ToDoActivity item = new ToDoActivity(){...};
ItemResponse<ToDoActivity> itemResponse = await this.container.CreateItemAsync(item);
ToDoActivity responseContent = itemResponse.Resource; // This is really the same as "item"
double consumedRUs = itemResponse.Headers.RequestCharge;
string etag = itemResponse.Headers.ETag;
string session = itemResponse.Headers.Session;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment