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

BeginRejectVpcPeeringConnection() public method

Initiates the asynchronous execution of the RejectVpcPeeringConnection operation.
public BeginRejectVpcPeeringConnection ( RejectVpcPeeringConnectionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request RejectVpcPeeringConnectionRequest Container for the necessary parameters to execute the RejectVpcPeeringConnection 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 BeginRejectVpcPeeringConnection(RejectVpcPeeringConnectionRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new RejectVpcPeeringConnectionRequestMarshaller();
            var unmarshaller = RejectVpcPeeringConnectionResponseUnmarshaller.Instance;

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