/// <summary>Snippet for WaitAsync</summary> public async Task WaitAsync() { // Snippet: WaitAsync(string, string, CallSettings) // Additional: WaitAsync(string, string, CancellationToken) // Create client GlobalOperationsClient globalOperationsClient = await GlobalOperationsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string operation = ""; // Make the request Operation response = await globalOperationsClient.WaitAsync(project, operation); // End snippet }
/// <summary>Snippet for WaitAsync</summary> public async Task WaitRequestObjectAsync() { // Snippet: WaitAsync(WaitGlobalOperationRequest, CallSettings) // Additional: WaitAsync(WaitGlobalOperationRequest, CancellationToken) // Create client GlobalOperationsClient globalOperationsClient = await GlobalOperationsClient.CreateAsync(); // Initialize request argument(s) WaitGlobalOperationRequest request = new WaitGlobalOperationRequest { Operation = "", Project = "", }; // Make the request Operation response = await globalOperationsClient.WaitAsync(request); // End snippet }