The LoggingEvent type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
LoggingEvent(LoggingEventData) |
Initializes a new instance of the LoggingEvent class
using specific data.
| |
LoggingEvent(SerializationInfo, StreamingContext) |
Serialization constructor
| |
LoggingEvent(Type, ILoggerRepository, LoggingEventData) |
Initializes a new instance of the LoggingEvent class
using specific data.
| |
LoggingEvent(Type, ILoggerRepository, LoggingEventData, FixFlags) |
Initializes a new instance of the LoggingEvent class
using specific data.
| |
LoggingEvent(Type, ILoggerRepository, String, Level, Object, Exception) |
Initializes a new instance of the LoggingEvent class
from the supplied parameters.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
FixVolatileData | Obsolete.
Fix instance fields that hold volatile data.
| |
FixVolatileData(Boolean) | Obsolete.
Fixes instance fields that hold volatile data.
| |
FixVolatileData(FixFlags) |
Fix the fields specified by the FixFlags parameter
| |
GetExceptionString |
Returns this event's exception's rendered using the
RendererMap.
| |
GetExceptionStrRep | Obsolete.
Returns this event's exception's rendered using the
RendererMap.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetLoggingEventData |
Gets the portable data for this LoggingEvent.
| |
GetLoggingEventData(FixFlags) |
Gets the portable data for this LoggingEvent.
| |
GetObjectData |
Serializes this object into the SerializationInfo provided.
| |
GetProperties |
Get all the composite properties in this event
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
LookupProperty |
Lookup a composite property in this event
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WriteRenderedMessage |
Write the rendered message to a TextWriter
|
Fields
Name | Description | |
---|---|---|
HostNameProperty |
The key into the Properties map for the host name value.
| |
IdentityProperty |
The key into the Properties map for the thread identity value.
| |
UserNameProperty |
The key into the Properties map for the user name value.
|
Properties
Name | Description | |
---|---|---|
Domain |
Gets the AppDomain friendly name.
| |
ExceptionObject |
Gets the exception object used to initialize this event.
| |
Fix |
The fixed fields in this event
| |
Identity |
Gets the identity of the current thread principal.
| |
Level |
Gets the Level of the logging event.
| |
LocationInformation |
Gets the location information for this logging event.
| |
LoggerName |
Gets the name of the logger that logged the event.
| |
MessageObject |
Gets the message object used to initialize this event.
| |
Properties |
Additional event specific properties.
| |
RenderedMessage |
Gets the message, rendered through the RendererMap.
| |
Repository |
The ILoggerRepository that this event was created in.
| |
StartTime |
Gets the time when the current process started.
| |
ThreadName |
Gets the name of the current thread.
| |
TimeStamp |
Gets the time of the logging event.
| |
UserName |
Gets the name of the current user.
|
See Also