次の方法で共有


BuildSubmission Class

Definition

A BuildSubmission represents an build request which has been submitted to the BuildManager for processing. It may be used to execute synchronous or asynchronous build requests and provides access to the results upon completion.

public ref class BuildSubmission
public class BuildSubmission
type BuildSubmission = class
Public Class BuildSubmission
Inheritance
BuildSubmission

Remarks

This class is thread-safe.

Properties

AsyncContext

The asynchronous context provided to ExecuteAsync(BuildSubmissionCompleteCallback, Object), if any.

BuildManager

The BuildManager with which this submission is associated.

BuildResult

The result of the build. Valid only after WaitHandle has become signalled.

IsCompleted

Returns true if this submission is complete.

SubmissionId

An ID uniquely identifying this request from among other submissions within the same build.

WaitHandle

A WaitHandle which will be signalled when the build is complete. Valid after Execute() or ExecuteAsync(BuildSubmissionCompleteCallback, Object) returns, otherwise null.

Methods

Execute()

Starts the request and blocks until results are available.

ExecuteAsync(BuildSubmissionCompleteCallback, Object)

Starts the request asynchronously and immediately returns control to the caller.

Applies to