Amazon.DirectConnect.AmazonDirectConnectClient.DeleteConnectionAsync C# (CSharp) Метод

DeleteConnectionAsync() публичный Метод

Initiates the asynchronous execution of the DeleteConnection operation.
public DeleteConnectionAsync ( DeleteConnectionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteConnectionRequest Container for the necessary parameters to execute the DeleteConnection operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DeleteConnectionResponse> DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DeleteConnectionRequestMarshaller();
            var unmarshaller = DeleteConnectionResponseUnmarshaller.Instance;

            return InvokeAsync<DeleteConnectionRequest,DeleteConnectionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDirectConnectClient