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

DeprecateWorkflowTypeAsync() public method

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

            return InvokeAsync<DeprecateWorkflowTypeRequest,DeprecateWorkflowTypeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleWorkflowClient