Amazon.CloudHSM.AmazonCloudHSMClient.BeginDeleteHapg C# (CSharp) Method

BeginDeleteHapg() public method

Initiates the asynchronous execution of the DeleteHapg operation.
public BeginDeleteHapg ( Amazon.CloudHSM.Model.DeleteHapgRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CloudHSM.Model.DeleteHapgRequest Container for the necessary parameters to execute the DeleteHapg operation on AmazonCloudHSMClient.
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 BeginDeleteHapg(DeleteHapgRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new DeleteHapgRequestMarshaller();
            var unmarshaller = DeleteHapgResponseUnmarshaller.Instance;

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