/// <summary>Snippet for DeprecatedMethod</summary> public void DeprecatedMethodRequestObject() { // Snippet: DeprecatedMethod(Request, CallSettings) // Create client DeprecatedClient deprecatedClient = DeprecatedClient.Create(); // Initialize request argument(s) Request request = new Request { }; // Make the request Response response = deprecatedClient.DeprecatedMethod(request); // End snippet }
/// <summary>Snippet for DeprecatedMethod</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void DeprecatedMethodRequestObject() { // Create client DeprecatedClient deprecatedClient = DeprecatedClient.Create(); // Initialize request argument(s) Request request = new Request { }; // Make the request #pragma warning disable CS0612 Response response = deprecatedClient.DeprecatedMethod(request); #pragma warning restore CS0612 }