Amazon.S3.AmazonS3Client.GetBucketVersioningAsync C# (CSharp) Method

GetBucketVersioningAsync() public method

Returns the versioning state of a bucket.
public GetBucketVersioningAsync ( string bucketName, GetBucketVersioningResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
bucketName string A property of GetBucketVersioningRequest used to execute the GetBucketVersioning service method.
callback GetBucketVersioningResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options AsyncOptions /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. ///
return void
        public void GetBucketVersioningAsync(string bucketName,  AmazonServiceCallback<GetBucketVersioningRequest, GetBucketVersioningResponse> callback, AsyncOptions options = null)
        {
            var request = new GetBucketVersioningRequest();
            request.BucketName = bucketName;
            GetBucketVersioningAsync(request, callback, options);
        }

Same methods

AmazonS3Client::GetBucketVersioningAsync ( GetBucketVersioningRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::GetBucketVersioningAsync ( string bucketName, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::GetBucketVersioningAsync ( GetBucketVersioningRequest request, GetBucketVersioningResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client