Amazon.CodeDeploy.AmazonCodeDeployClient.BeginRegisterOnPremisesInstance C# (CSharp) Method

BeginRegisterOnPremisesInstance() public method

Initiates the asynchronous execution of the RegisterOnPremisesInstance operation.
public BeginRegisterOnPremisesInstance ( Amazon.CodeDeploy.Model.RegisterOnPremisesInstanceRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeDeploy.Model.RegisterOnPremisesInstanceRequest Container for the necessary parameters to execute the RegisterOnPremisesInstance operation on AmazonCodeDeployClient.
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 BeginRegisterOnPremisesInstance(RegisterOnPremisesInstanceRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new RegisterOnPremisesInstanceRequestMarshaller();
            var unmarshaller = RegisterOnPremisesInstanceResponseUnmarshaller.Instance;

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