Amazon.Glacier.AmazonGlacierClient.InitiateJobAsync C# (CSharp) Method

InitiateJobAsync() public method

Initiates the asynchronous execution of the InitiateJob operation.
public InitiateJobAsync ( InitiateJobRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Glacier.Model.InitiateJobRequest Container for the necessary parameters to execute the InitiateJob operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<InitiateJobResponse> InitiateJobAsync(InitiateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new InitiateJobRequestMarshaller();
            var unmarshaller = InitiateJobResponseUnmarshaller.Instance;

            return InvokeAsync<InitiateJobRequest,InitiateJobResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonGlacierClient