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

ListProjectsAsync() public method

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

            return InvokeAsync<ListProjectsRequest,ListProjectsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }