Initiates the asynchronous execution of the TerminateWorkflowExecution operation.
Declaration Syntax
C# |
IAsyncResult BeginTerminateWorkflowExecution( TerminateWorkflowExecutionRequest terminateWorkflowExecutionRequest, AsyncCallback callback, Object state )
Parameters
- terminateWorkflowExecutionRequest (TerminateWorkflowExecutionRequest)
- Container for the necessary parameters to execute the TerminateWorkflowExecution operation on AmazonSimpleWorkflow.
- callback (AsyncCallback)
- An AsyncCallback delegate that is invoked when the operation completes.
- state (Object)
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the AsyncState property.