Freigeben über


GraphBuildSubmission Class

Definition

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

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

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 results of the build per graph node. 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(GraphBuildSubmissionCompleteCallback, Object)

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

Applies to