Amazon.DirectoryService.AmazonDirectoryServiceClient.CreateSnapshotAsync C# (CSharp) Метод

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

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

            return InvokeAsync<CreateSnapshotRequest,CreateSnapshotResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDirectoryServiceClient