Share via


ConsoleLogger.WriteHandler Property

Provides access to the write handler delegate so that it can be redirected if necessary (e.g. to a file).

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

Syntax

'Declaration
Protected Property WriteHandler As WriteHandler
protected WriteHandler WriteHandler { get; set; }
protected:
property WriteHandler^ WriteHandler {
    WriteHandler^ get ();
    void set (WriteHandler^ value);
}
member WriteHandler : WriteHandler with get, set
function get WriteHandler () : WriteHandler 
function set WriteHandler (value : WriteHandler)

Property Value

Type: Microsoft.Build.Logging.WriteHandler
Returns the write handler delegate.

.NET Framework Security

See Also

Reference

ConsoleLogger Class

Microsoft.Build.Logging Namespace