共用方式為


DistributedFileLogger.BuildEventRedirector Property

Set by the build engine to allow a node loggers to forward messages to the central logger.

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.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Property BuildEventRedirector As IEventRedirector
public IEventRedirector BuildEventRedirector { get; set; }
public:
virtual property IEventRedirector^ BuildEventRedirector {
    IEventRedirector^ get () sealed;
    void set (IEventRedirector^ value) sealed;
}
abstract BuildEventRedirector : IEventRedirector with get, set 
override BuildEventRedirector : IEventRedirector with get, set
final function get BuildEventRedirector () : IEventRedirector 
final function set BuildEventRedirector (value : IEventRedirector)

Property Value

Type: Microsoft.Build.Framework.IEventRedirector
An IEventRedirector object to forward the events.

Implements

IForwardingLogger.BuildEventRedirector

.NET Framework Security

See Also

Reference

DistributedFileLogger Class

Microsoft.Build.BuildEngine Namespace