OutOfProcNode.Run Method

Definition

Overloads

Run(Exception)

Starts up the node and processes messages until the node is requested to shut down. Assumes no node reuse. Assumes low priority is disabled.

Run(Boolean, Exception)

Starts up the node and processes messages until the node is requested to shut down. Assumes low priority is disabled.

Run(Boolean, Boolean, Exception)

Starts up the node and processes messages until the node is requested to shut down.

Run(Exception)

Starts up the node and processes messages until the node is requested to shut down. Assumes no node reuse. Assumes low priority is disabled.

public:
 virtual Microsoft::Build::Execution::NodeEngineShutdownReason Run([Runtime::InteropServices::Out] Exception ^ % shutdownException);
public Microsoft.Build.Execution.NodeEngineShutdownReason Run (out Exception shutdownException);
abstract member Run : Exception -> Microsoft.Build.Execution.NodeEngineShutdownReason
override this.Run : Exception -> Microsoft.Build.Execution.NodeEngineShutdownReason
Public Function Run (ByRef shutdownException As Exception) As NodeEngineShutdownReason

Parameters

shutdownException
Exception

The exception which caused shutdown, if any.

Returns

The reason for shutting down.

Applies to

Run(Boolean, Exception)

Starts up the node and processes messages until the node is requested to shut down. Assumes low priority is disabled.

public:
 Microsoft::Build::Execution::NodeEngineShutdownReason Run(bool enableReuse, [Runtime::InteropServices::Out] Exception ^ % shutdownException);
public Microsoft.Build.Execution.NodeEngineShutdownReason Run (bool enableReuse, out Exception shutdownException);
member this.Run : bool * Exception -> Microsoft.Build.Execution.NodeEngineShutdownReason
Public Function Run (enableReuse As Boolean, ByRef shutdownException As Exception) As NodeEngineShutdownReason

Parameters

enableReuse
Boolean

Whether this node is eligible for reuse later.

shutdownException
Exception

The exception which caused shutdown, if any.

Returns

The reason for shutting down.

Applies to

Run(Boolean, Boolean, Exception)

Starts up the node and processes messages until the node is requested to shut down.

public:
 Microsoft::Build::Execution::NodeEngineShutdownReason Run(bool enableReuse, bool lowPriority, [Runtime::InteropServices::Out] Exception ^ % shutdownException);
public Microsoft.Build.Execution.NodeEngineShutdownReason Run (bool enableReuse, bool lowPriority, out Exception shutdownException);
member this.Run : bool * bool * Exception -> Microsoft.Build.Execution.NodeEngineShutdownReason
Public Function Run (enableReuse As Boolean, lowPriority As Boolean, ByRef shutdownException As Exception) As NodeEngineShutdownReason

Parameters

enableReuse
Boolean

Whether this node is eligible for reuse later.

lowPriority
Boolean

Whether this node should be running with low priority.

shutdownException
Exception

The exception which caused shutdown, if any.

Returns

The reason for shutting down.

Applies to