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

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

Initiates the asynchronous execution of the DeleteInstance operation.
public DeleteInstanceAsync ( DeleteInstanceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lightsail.Model.DeleteInstanceRequest Container for the necessary parameters to execute the DeleteInstance operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DeleteInstanceResponse> DeleteInstanceAsync(DeleteInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DeleteInstanceRequestMarshaller();
            var unmarshaller = DeleteInstanceResponseUnmarshaller.Instance;

            return InvokeAsync<DeleteInstanceRequest,DeleteInstanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient