Amazon.Lightsail.AmazonLightsailClient.PeerVpcAsync C# (CSharp) Метод

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

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

            return InvokeAsync<PeerVpcRequest,PeerVpcResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient