Last active
September 22, 2020 00:25
-
-
Save ealsur/85c27d994602b95b497ef24ed8f8a41b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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