Condividi tramite


OutOfProcNode.Run Method

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Function Run ( _
    <OutAttribute> ByRef shutdownException As Exception _
) As NodeEngineShutdownReason
public NodeEngineShutdownReason Run(
    out Exception shutdownException
)
public:
virtual NodeEngineShutdownReason Run(
    [OutAttribute] Exception^% shutdownException
) sealed
abstract Run : 
        shutdownException:Exception byref -> NodeEngineShutdownReason  
override Run : 
        shutdownException:Exception byref -> NodeEngineShutdownReason
public final function Run(
    shutdownException : Exception
) : NodeEngineShutdownReason

Parameters

  • shutdownException
    Type: System.Exception%

    The exception which caused shutdown, if any.

Return Value

Type: Microsoft.Build.Execution.NodeEngineShutdownReason
The reason for shutting down.

.NET Framework Security

See Also

Reference

OutOfProcNode Class

Microsoft.Build.Execution Namespace