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

RecordActivityTaskHeartbeatAsync() public method

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

            return InvokeAsync<RecordActivityTaskHeartbeatRequest,RecordActivityTaskHeartbeatResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleWorkflowClient