Amazon.CodeBuild.AmazonCodeBuildClient.BeginStopBuild C# (CSharp) Method

BeginStopBuild() public method

Initiates the asynchronous execution of the StopBuild operation.
public BeginStopBuild ( StopBuildRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeBuild.Model.StopBuildRequest Container for the necessary parameters to execute the StopBuild operation on AmazonCodeBuildClient.
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.
return IAsyncResult
        public IAsyncResult BeginStopBuild(StopBuildRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new StopBuildRequestMarshaller();
            var unmarshaller = StopBuildResponseUnmarshaller.Instance;

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