/// <summary>Snippet for DeprecatedMessageMethodAsync</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 DeprecatedMessageMethodRequestObjectAsync()
        {
            // Create client
            DeprecatedClient deprecatedClient = await DeprecatedClient.CreateAsync();

            // Initialize request argument(s)
#pragma warning disable CS0612
            DeprecatedMessageRequest request = new DeprecatedMessageRequest {
            };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Response response = await deprecatedClient.DeprecatedMessageMethodAsync(request);

#pragma warning restore CS0612
        }
Ejemplo n.º 2
0
        /// <summary>Snippet for DeprecatedMessageMethodAsync</summary>
        public async Task DeprecatedMessageMethodRequestObjectAsync()
        {
            // Snippet: DeprecatedMessageMethodAsync(DeprecatedMessageRequest, CallSettings)
            // Additional: DeprecatedMessageMethodAsync(DeprecatedMessageRequest, CancellationToken)
            // Create client
            DeprecatedClient deprecatedClient = await DeprecatedClient.CreateAsync();

            // Initialize request argument(s)
#pragma warning disable CS0612
            DeprecatedMessageRequest request = new DeprecatedMessageRequest {
            };
#pragma warning restore CS0612
            // Make the request
            Response response = await deprecatedClient.DeprecatedMessageMethodAsync(request);

            // End snippet
        }