EventSource Properties

MSBuild Extension Pack

EventSource Properties MSBuild Extension Pack Help 4.0.12.0

The EventSource type exposes the following members.

Properties

  Name Description
Public property CategoryCount
Sets the number of categories in the category resource file
Public property CategoryResourceFile
Sets the path of the category resource file to write events with localized category strings
Public property Description
Sets the description for the logentry
Public property EventId
Sets the event id.
Public property Exists
Gets a value indicating whether the EventSource exists.
Public property Force
Set to true to delete any existing matching eventsource when creating
Public property LogName
Sets the name of the log the source's entries are written to, e.g Application, Security, System, YOUREVENTLOG.
Public property LogType
Sets the Event Log Entry Type. Possible values are: Error, FailureAudit, Information, SuccessAudit, Warning.
Public property MessageResourceFile
Sets the path of the message resource file to configure an event log source to write localized event messages
Public property ParameterResourceFile
Sets the path of the parameter resource file to configure an event log source to write localized event messages with inserted parameter strings
Public property Source
Sets the source name
Top
See Also

Reference