Amazon.Snowball.AmazonSnowballClient.GetJobUnlockCodeAsync C# (CSharp) Метод

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

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

            return InvokeAsync<GetJobUnlockCodeRequest,GetJobUnlockCodeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }