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

GetCORSConfigurationAsync() public method

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

            return InvokeAsync<GetCORSConfigurationRequest,GetCORSConfigurationResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonS3Client::GetCORSConfigurationAsync ( string bucketName, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::GetCORSConfigurationAsync ( GetCORSConfigurationRequest request, GetCORSConfigurationResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client::GetCORSConfigurationAsync ( string bucketName, GetCORSConfigurationResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client