EventSourceCreationData Members

EventSourceCreationData Members

Represents the configuration settings used to create an event log source on the local computer or a remote computer.

The EventSourceCreationData type exposes the following members.

  NameDescription
Public method EventSourceCreationData Initializes a new instance of the EventSourceCreationData class with a specified event source and event log name.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property CategoryCount Gets or sets the number of categories in the category resource file.
Public property CategoryResourceFile Gets or sets the path of the resource file that contains category strings for the source.
Public property LogName Gets or sets the name of the event log to which the source writes entries.
Public property MachineName Gets or sets the name of the computer on which to register the event source.
Public property MessageResourceFile Gets or sets the path of the message resource file that contains message formatting strings for the source.
Public property ParameterResourceFile Gets or sets the path of the resource file that contains message parameter strings for the source.
Public property Source Gets or sets the name to register with the event log as an event source.
Top

Community Additions

ADD
Show:
© 2016 Microsoft