Amazon.EC2.AmazonEC2Client.BeginModifyHosts C# (CSharp) Method

BeginModifyHosts() public method

Initiates the asynchronous execution of the ModifyHosts operation.
public BeginModifyHosts ( ModifyHostsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request ModifyHostsRequest Container for the necessary parameters to execute the ModifyHosts operation on AmazonEC2Client.
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 BeginModifyHosts(ModifyHostsRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new ModifyHostsRequestMarshaller();
            var unmarshaller = ModifyHostsResponseUnmarshaller.Instance;

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