Amazon.CodeBuild.AmazonCodeBuildClient.BatchGetProjectsAsync C# (CSharp) Method

BatchGetProjectsAsync() public method

Initiates the asynchronous execution of the BatchGetProjects operation.
public BatchGetProjectsAsync ( BatchGetProjectsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeBuild.Model.BatchGetProjectsRequest Container for the necessary parameters to execute the BatchGetProjects operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<BatchGetProjectsResponse> BatchGetProjectsAsync(BatchGetProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new BatchGetProjectsRequestMarshaller();
            var unmarshaller = BatchGetProjectsResponseUnmarshaller.Instance;

            return InvokeAsync<BatchGetProjectsRequest,BatchGetProjectsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }