Amazon.CloudHSM.AmazonCloudHSMClient.BeginCreateHapg C# (CSharp) Метод

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

Initiates the asynchronous execution of the CreateHapg operation.
public BeginCreateHapg ( Amazon.CloudHSM.Model.CreateHapgRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CloudHSM.Model.CreateHapgRequest Container for the necessary parameters to execute the CreateHapg 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.
Результат IAsyncResult
        public IAsyncResult BeginCreateHapg(CreateHapgRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new CreateHapgRequestMarshaller();
            var unmarshaller = CreateHapgResponseUnmarshaller.Instance;

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