Amazon.ImportExport.AmazonImportExportClient.GetShippingLabelAsync C# (CSharp) Метод

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

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

            return InvokeAsync<GetShippingLabelRequest,GetShippingLabelResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }