Amazon.SimpleWorkflow.AmazonSimpleWorkflowClient.RegisterActivityTypeAsync C# (CSharp) Method

RegisterActivityTypeAsync() public method

Initiates the asynchronous execution of the RegisterActivityType operation.
public RegisterActivityTypeAsync ( RegisterActivityTypeRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleWorkflow.Model.RegisterActivityTypeRequest Container for the necessary parameters to execute the RegisterActivityType operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<RegisterActivityTypeResponse> RegisterActivityTypeAsync(RegisterActivityTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RegisterActivityTypeRequestMarshaller();
            var unmarshaller = RegisterActivityTypeResponseUnmarshaller.Instance;

            return InvokeAsync<RegisterActivityTypeRequest,RegisterActivityTypeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleWorkflowClient