Amazon.EC2.AmazonEC2Client.CreateNetworkInterfaceAsync C# (CSharp) Method

CreateNetworkInterfaceAsync() public method

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

            return InvokeAsync<CreateNetworkInterfaceRequest,CreateNetworkInterfaceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client