Amazon.StorageGateway.AmazonStorageGatewayClient.CreateStorediSCSIVolumeAsync C# (CSharp) Method

CreateStorediSCSIVolumeAsync() public method

Initiates the asynchronous execution of the CreateStorediSCSIVolume operation.
public CreateStorediSCSIVolumeAsync ( CreateStorediSCSIVolumeRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateStorediSCSIVolumeRequest Container for the necessary parameters to execute the CreateStorediSCSIVolume operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateStorediSCSIVolumeResponse> CreateStorediSCSIVolumeAsync(CreateStorediSCSIVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateStorediSCSIVolumeRequestMarshaller();
            var unmarshaller = CreateStorediSCSIVolumeResponseUnmarshaller.Instance;

            return InvokeAsync<CreateStorediSCSIVolumeRequest,CreateStorediSCSIVolumeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient