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. /// |
return | 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);
}