/// <summary>Snippet for GetAsync</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 GetRequestObjectAsync()
        {
            // Create client
            CustomerLicenseServiceClient customerLicenseServiceClient = await CustomerLicenseServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerLicenseGetRequest request = new CustomerLicenseGetRequest
            {
                ApplicationId = "",
                CustomerId    = "",
            };
            // Make the request
            CustomerLicense response = await customerLicenseServiceClient.GetAsync(request);
        }
示例#2
0
        /// <summary>Snippet for GetAsync</summary>
        public async Task GetRequestObjectAsync()
        {
            // Snippet: GetAsync(CustomerLicenseGetRequest, CallSettings)
            // Additional: GetAsync(CustomerLicenseGetRequest, CancellationToken)
            // Create client
            CustomerLicenseServiceClient customerLicenseServiceClient = await CustomerLicenseServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerLicenseGetRequest request = new CustomerLicenseGetRequest
            {
                ApplicationId = "",
                CustomerId    = "",
            };
            // Make the request
            CustomerLicense response = await customerLicenseServiceClient.GetAsync(request);

            // End snippet
        }