This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
EventLogEntry Members
Public:
Properties
Category |
Gets the text associated with the CategoryNumber for this entry. |
CategoryNumber |
Gets the application-specific category number for this entry |
Data |
Gets the binary data associated with the entry. |
EntryType |
Gets the type of this entry. |
EventID |
Gets the application-specific event indentifier of this entry. |
Extension |
[To be supplied.] |
Index |
Gets the index of this entry in the event log. |
MachineName |
Gets the name of the computer on which this entry was generated. |
Message |
Gets the localized message corresponding to this event entry. |
ReplacementStrings |
Gets the replacement strings associated with the entry. |
Site (inherited from Component) |
Gets or sets the site of the Component. |
Source |
Gets the name of the application that generated this event. |
TimeGenerated |
Gets the time at which this event was generated, in local time. |
TimeWritten |
Gets the time at which this event was written to the log, in local time. |
UserName |
Gets the name of the user responsible for this event. |
Methods
Dispose (inherited from Component) |
Disposes of the Component. |
Equals |
Overloaded. [To be supplied.] |
GetContainer (inherited from Component) |
Returns the IContainer that contains the Component. |
GetDesignMode (inherited from Component) |
Gets a value indicating whether the Component is currently in design mode. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetServiceObject (inherited from Component) |
Returns an object representing a service provided by the Component. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Save |
Saves an entry as a stream of data. |
ToString (inherited from Component) |
Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
EventLogEntry Class | System.Diagnostics Namespace