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

CreateProjectAsync() public method

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

            return InvokeAsync<CreateProjectRequest,CreateProjectResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }