EventLogEntry Members

Encapsulates a single record in the event log. This class cannot be inherited.

The EventLogEntry type exposes the following members.

Public method 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.)
Public method Dispose Overloaded. Releases the resources used by the Component.
Public method Equals Overloaded. Performs a comparison between two items.
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Category Gets the text associated with the CategoryNumber property for this entry.
Public property CategoryNumber Gets the category number of the event log entry.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Data Gets the binary data associated with the entry.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property EntryType Gets the event type of this entry.
Public property EventID Obsolete. Gets the application-specific event identifier for the current event entry.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Index Gets the index of this entry in the event log.
Public property InstanceId Gets the resource identifier that designates the message text of the event entry.
Public property MachineName Gets the name of the computer on which this entry was generated.
Public property Message Gets the localized message associated with this event entry.
Public property ReplacementStrings Gets the replacement strings associated with the entry.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Source Gets the name of the application that generated this event.
Public property TimeGenerated Gets the local time at which this event was generated.
Public property TimeWritten Gets the local time at which this event was written to the log.
Public property UserName Gets the name of the user who is responsible for this event.

Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft