Export (0) Print
Expand All

EventLog.CreateEventSource Method

Establishes an application as able to write event information to a particular log on the system.

Name Description
EventLog.CreateEventSource (EventSourceCreationData) Establishes an application as a valid event source for writing localized event messages, using the specified configuration properties for the event source and the corresponding event log.
EventLog.CreateEventSource (String, String) Establishes an application, using the specified Source, as a valid event source for writing entries to a log on the local computer. This method can also create a new custom log on the local computer.
EventLog.CreateEventSource (String, String, String) Establishes an application, using the specified Source, as a valid event source for writing entries to a log on the computer specified by machineName. This method can also be used to create a new custom log on the specified computer.

Community Additions

ADD
Show:
© 2014 Microsoft