示例#1
0
        /// <summary>Snippet for DeleteContext</summary>
        public void DeleteContextRequestObject()
        {
            // Snippet: DeleteContext(DeleteContextRequest, CallSettings)
            // Create client
            ContextsClient contextsClient = ContextsClient.Create();
            // Initialize request argument(s)
            DeleteContextRequest request = new DeleteContextRequest
            {
                ContextName = ContextName.FromProjectSessionContext("[PROJECT]", "[SESSION]", "[CONTEXT]"),
            };

            // Make the request
            contextsClient.DeleteContext(request);
            // End snippet
        }