Amazon.ECS.AmazonECSClient.DeleteServiceAsync C# (CSharp) Method

DeleteServiceAsync() public method

Initiates the asynchronous execution of the DeleteService operation.
public DeleteServiceAsync ( Amazon.ECS.Model.DeleteServiceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECS.Model.DeleteServiceRequest Container for the necessary parameters to execute the DeleteService operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DeleteServiceResponse> DeleteServiceAsync(DeleteServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DeleteServiceRequestMarshaller();
            var unmarshaller = DeleteServiceResponseUnmarshaller.Instance;

            return InvokeAsync<DeleteServiceRequest,DeleteServiceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonECSClient