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

BeginListHapgs() public method

Initiates the asynchronous execution of the ListHapgs operation.
public BeginListHapgs ( Amazon.CloudHSM.Model.ListHapgsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CloudHSM.Model.ListHapgsRequest Container for the necessary parameters to execute the ListHapgs 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 BeginListHapgs(ListHapgsRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new ListHapgsRequestMarshaller();
            var unmarshaller = ListHapgsResponseUnmarshaller.Instance;

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