Amazon.CloudHSM.AmazonCloudHSMClient.CreateLunaClientAsync C# (CSharp) Метод

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

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

            return InvokeAsync<CreateLunaClientRequest,CreateLunaClientResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }