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

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

Initiates the asynchronous execution of the CreatePlatformEndpoint operation.
public CreatePlatformEndpointAsync ( CreatePlatformEndpointRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleNotificationService.Model.CreatePlatformEndpointRequest Container for the necessary parameters to execute the CreatePlatformEndpoint operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreatePlatformEndpointResponse> CreatePlatformEndpointAsync(CreatePlatformEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreatePlatformEndpointRequestMarshaller();
            var unmarshaller = CreatePlatformEndpointResponseUnmarshaller.Instance;

            return InvokeAsync<CreatePlatformEndpointRequest,CreatePlatformEndpointResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonSimpleNotificationServiceClient::CreatePlatformEndpointAsync ( CreatePlatformEndpointRequest request, CreatePlatformEndpointResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleNotificationServiceClient