Amazon.ElastiCache.AmazonElastiCacheClient.DeleteCacheSubnetGroupAsync C# (CSharp) Method

DeleteCacheSubnetGroupAsync() public method

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

            return InvokeAsync<DeleteCacheSubnetGroupRequest,DeleteCacheSubnetGroupResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElastiCacheClient