Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.CheckIfPhoneNumberIsOptedOutAsync C# (CSharp) Метод

CheckIfPhoneNumberIsOptedOutAsync() публичный Метод

Initiates the asynchronous execution of the CheckIfPhoneNumberIsOptedOut operation.
public CheckIfPhoneNumberIsOptedOutAsync ( CheckIfPhoneNumberIsOptedOutRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CheckIfPhoneNumberIsOptedOutRequest Container for the necessary parameters to execute the CheckIfPhoneNumberIsOptedOut operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CheckIfPhoneNumberIsOptedOutResponse> CheckIfPhoneNumberIsOptedOutAsync(CheckIfPhoneNumberIsOptedOutRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CheckIfPhoneNumberIsOptedOutRequestMarshaller();
            var unmarshaller = CheckIfPhoneNumberIsOptedOutResponseUnmarshaller.Instance;

            return InvokeAsync<CheckIfPhoneNumberIsOptedOutRequest,CheckIfPhoneNumberIsOptedOutResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonSimpleNotificationServiceClient::CheckIfPhoneNumberIsOptedOutAsync ( CheckIfPhoneNumberIsOptedOutRequest request, CheckIfPhoneNumberIsOptedOutResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleNotificationServiceClient