ConsoleLogger.Initialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the logger for build events.
Overloads
Initialize(IEventSource) |
Registers the logger for the specified events. |
Initialize(IEventSource, Int32) |
Registers the logger for the specified events. |
Initialize(IEventSource)
Registers the logger for the specified events.
public:
virtual void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource);
public virtual void Initialize (Microsoft.Build.Framework.IEventSource eventSource);
abstract member Initialize : Microsoft.Build.Framework.IEventSource -> unit
override this.Initialize : Microsoft.Build.Framework.IEventSource -> unit
Public Overridable Sub Initialize (eventSource As IEventSource)
Parameters
- eventSource
- IEventSource
The IEventSource to register with the logger.
Implements
Applies to
Initialize(IEventSource, Int32)
Registers the logger for the specified events.
public:
virtual void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource, int nodeCount);
public virtual void Initialize (Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
abstract member Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
override this.Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
Public Overridable Sub Initialize (eventSource As IEventSource, nodeCount As Integer)
Parameters
- eventSource
- IEventSource
The IEventSource to register with the logger.
- nodeCount
- Int32
The number of nodes to initialize.