Amazon.DirectConnect.AmazonDirectConnectClient.BeginDescribeLocations C# (CSharp) Method

BeginDescribeLocations() public method

Initiates the asynchronous execution of the DescribeLocations operation.
public BeginDescribeLocations ( DescribeLocationsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeLocationsRequest Container for the necessary parameters to execute the DescribeLocations operation on AmazonDirectConnectClient.
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 BeginDescribeLocations(DescribeLocationsRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new DescribeLocationsRequestMarshaller();
            var unmarshaller = DescribeLocationsResponseUnmarshaller.Instance;

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