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

CreatePublicVirtualInterfaceAsync() public method

Initiates the asynchronous execution of the CreatePublicVirtualInterface operation.
public CreatePublicVirtualInterfaceAsync ( CreatePublicVirtualInterfaceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreatePublicVirtualInterfaceRequest Container for the necessary parameters to execute the CreatePublicVirtualInterface operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreatePublicVirtualInterfaceResponse> CreatePublicVirtualInterfaceAsync(CreatePublicVirtualInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreatePublicVirtualInterfaceRequestMarshaller();
            var unmarshaller = CreatePublicVirtualInterfaceResponseUnmarshaller.Instance;

            return InvokeAsync<CreatePublicVirtualInterfaceRequest,CreatePublicVirtualInterfaceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDirectConnectClient