Amazon.CodeCommit.AmazonCodeCommitClient.GetRepositoryAsync C# (CSharp) Method

GetRepositoryAsync() public method

Initiates the asynchronous execution of the GetRepository operation.
public GetRepositoryAsync ( GetRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.GetRepositoryRequest Container for the necessary parameters to execute the GetRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetRepositoryResponse> GetRepositoryAsync(GetRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetRepositoryRequestMarshaller();
            var unmarshaller = GetRepositoryResponseUnmarshaller.Instance;

            return InvokeAsync<GetRepositoryRequest,GetRepositoryResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }