FileLogger.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 the specified 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:
override void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource);
public override void Initialize (Microsoft.Build.Framework.IEventSource eventSource);
override this.Initialize : Microsoft.Build.Framework.IEventSource -> unit
Public Overrides Sub Initialize (eventSource As IEventSource)
Parameters
- eventSource
- IEventSource
The IEventSource to register with the logger.
Applies to
Initialize(IEventSource, Int32)
Registers the logger for the specified events.
public:
override void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource, int nodeCount);
public override void Initialize (Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public override void Initialize (Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
override this.Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
override this.Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
Public Overrides Sub Initialize (eventSource As IEventSource, nodeCount As Integer)
Parameters
- eventSource
- IEventSource
The IEventSource to register with the logger.
- nodeCount
- Int32
An integer representing the node ID for the event source.
- Attributes