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

BeginCreateLunaClient() public method

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

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