Amazon.AppStream.AmazonAppStreamClient.CreateStackAsync C# (CSharp) Метод

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

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

            return InvokeAsync<CreateStackRequest,CreateStackResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }