EventLog Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| BeginInit | Begins the initialization of an EventLog used on a form or used by another component. The initialization occurs at runtime. |
| Clear | Removes all entries from the event log. |
| Close | Closes the event log and releases read and write handles. |
| CreateEventSource | Overloaded. Establishes an application as able to write event information to a particular log on the system. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Delete | Overloaded. Removes a log resource. |
| DeleteEventSource | Overloaded. Removes an application's event source registration from the event log. |
| Dispose | Overloaded. Releases the resources used by the EventLog. |
| EndInit | Ends the initialization of an EventLog used on a form or by another component. The initialization occurs at runtime. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| Exists | Overloaded. Determines whether the specified log exists. |
| GetEventLogs | Overloaded. Creates an array of the event logs. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| LogNameFromSourceName | Gets the name of the log to which the specified source is registered. |
| ModifyOverflowPolicy | Changes the configured behavior for writing new entries when the event log reaches its maximum file size. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RegisterDisplayName | Specifies the localized name of the event log, which is displayed in the server Event Viewer. |
| SourceExists | Overloaded. Searches a computer's registry for a given event source. |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| WriteEntry | Overloaded. Writes an entry in the event log. |
| WriteEvent | Overloaded. Writes a localized event entry to the event log. |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Overridden. Releases the resources used by the EventLog. |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |