Exemple #1
0
        /// <summary>Snippet for DeprecatedResponseMethodAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task DeprecatedResponseMethodRequestObjectAsync()
        {
            // Create client
            DeprecatedClient deprecatedClient = await DeprecatedClient.CreateAsync();

            // Initialize request argument(s)
            Request request = new Request {
            };

            // Make the request
#pragma warning disable CS0612
            DeprecatedMessageResponse response = await deprecatedClient.DeprecatedResponseMethodAsync(request);

#pragma warning restore CS0612
        }
        /// <summary>Snippet for DeprecatedResponseMethodAsync</summary>
        public async Task DeprecatedResponseMethodRequestObjectAsync()
        {
            // Snippet: DeprecatedResponseMethodAsync(Request, CallSettings)
            // Additional: DeprecatedResponseMethodAsync(Request, CancellationToken)
            // Create client
            DeprecatedClient deprecatedClient = await DeprecatedClient.CreateAsync();

            // Initialize request argument(s)
            Request request = new Request {
            };

            // Make the request
#pragma warning disable CS0612
            DeprecatedMessageResponse response = await deprecatedClient.DeprecatedResponseMethodAsync(request);

#pragma warning restore CS0612
            // End snippet
        }