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

DescribeLocationsAsync() public method

Returns the list of AWS Direct Connect locations in the current AWS region. These are the locations that may be selected when calling CreateConnection or CreateInterconnect.
/// The API was called with invalid parameters. The error message will contain additional /// details about the cause. /// /// A server-side error occurred during the API call. The error message will contain additional /// details about the cause. ///
public DescribeLocationsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeLocationsResponse> DescribeLocationsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            return DescribeLocationsAsync(new DescribeLocationsRequest(), cancellationToken);
        }
        /// <summary>

Same methods

AmazonDirectConnectClient::DescribeLocationsAsync ( DescribeLocationsRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonDirectConnectClient