Amazon.Polly.AmazonPollyClient.PutLexiconAsync C# (CSharp) Метод

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

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

            return InvokeAsync<PutLexiconRequest,PutLexiconResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }