Amazon.Batch.AmazonBatchClient.BeginTerminateJob C# (CSharp) Метод

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

Initiates the asynchronous execution of the TerminateJob operation.
public BeginTerminateJob ( TerminateJobRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.Batch.Model.TerminateJobRequest Container for the necessary parameters to execute the TerminateJob operation on AmazonBatchClient.
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.
Результат IAsyncResult
        public IAsyncResult BeginTerminateJob(TerminateJobRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new TerminateJobRequestMarshaller();
            var unmarshaller = TerminateJobResponseUnmarshaller.Instance;

            return BeginInvoke<TerminateJobRequest>(request, marshaller, unmarshaller,
                callback, state);
        }