.NET Framework Class Library
EventLogEntry Members

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

The EventLogEntry type exposes the following members.

Methods

  NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodDisposeOverloaded. Releases the resources used by the Component.
Public methodEqualsOverloaded. Performs a comparison between two items.
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseCloneOverloaded.
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top
Properties

  NameDescription
Protected propertyCanRaiseEventsGets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyCategoryGets the text associated with the CategoryNumber property for this entry.
Public propertyCategoryNumberGets the category number of the event log entry.
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Public propertyDataGets the binary data associated with the entry.
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public propertyEntryTypeGets the event type of this entry.
Public propertyEventID Obsolete. Gets the application-specific event identifier for the current event entry.
Protected propertyEventsGets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertyIndexGets the index of this entry in the event log.
Public propertyInstanceIdGets the resource identifier that designates the message text of the event entry.
Public propertyMachineNameGets the name of the computer on which this entry was generated.
Public propertyMessageGets the localized message associated with this event entry.
Public propertyReplacementStringsGets the replacement strings associated with the entry.
Public propertySiteGets or sets the ISite of the Component. (Inherited from Component.)
Public propertySourceGets the name of the application that generated this event.
Public propertyTimeGeneratedGets the local time at which this event was generated.
Public propertyTimeWrittenGets the local time at which this event was written to the log.
Public propertyUserNameGets the name of the user who is responsible for this event.
Top
Events

  NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodISerializable..::.GetObjectDataInfrastructure. Populates a SerializationInfo with the data needed to serialize the target object.
Top
See Also

Reference

Tags :


Page view tracker