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

AllocatePrivateVirtualInterfaceAsync() public method

Initiates the asynchronous execution of the AllocatePrivateVirtualInterface operation.
public AllocatePrivateVirtualInterfaceAsync ( AllocatePrivateVirtualInterfaceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DirectConnect.Model.AllocatePrivateVirtualInterfaceRequest Container for the necessary parameters to execute the AllocatePrivateVirtualInterface operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AllocatePrivateVirtualInterfaceResponse> AllocatePrivateVirtualInterfaceAsync(AllocatePrivateVirtualInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AllocatePrivateVirtualInterfaceRequestMarshaller();
            var unmarshaller = AllocatePrivateVirtualInterfaceResponseUnmarshaller.Instance;

            return InvokeAsync<AllocatePrivateVirtualInterfaceRequest,AllocatePrivateVirtualInterfaceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDirectConnectClient