Compartir a través de


XmlLogEntry Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The XmlLogEntry type exposes the following members.

Constructors

  Name Description
Public method XmlLogEntry Overloaded.

Methods

  Name Description
Public method AddErrorMessage
Add an error or warning message to the start of the messages string builder.
(Inherited from LogEntry.)
Public method Clone
Creates a new LogEntry that is a copy of the current instance.
(Inherited from LogEntry.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString
Returns a String that represents the current LogEntry, using a default formatting template.
(Inherited from LogEntry.)

Properties

  Name Description
Public property ActivityId
Tracing activity id
(Inherited from LogEntry.)
Public property ActivityIdString
Tracing activity id as a string to support WMI Queries
(Inherited from LogEntry.)
Public property AppDomainName
The AppDomain in which the program is running
(Inherited from LogEntry.)
Public property Categories
Category name used to route the log entry to a one or more trace listeners.
(Inherited from LogEntry.)
Public property CategoriesStrings
Category names used to route the log entry to a one or more trace listeners. This readonly property is available to support WMI queries
(Inherited from LogEntry.)
Public property ErrorMessages
Gets the error message with the LogEntry
(Inherited from LogEntry.)
Public property EventId
Event number or identifier.
(Inherited from LogEntry.)
Public property ExtendedProperties
Dictionary of key/value pairs to record.
(Inherited from LogEntry.)
Public property LoggedSeverity

Gets the string representation of the Severity enumeration.

(Inherited from LogEntry.)
Public property MachineName
Name of the computer.
(Inherited from LogEntry.)
Public property ManagedThreadName
The name of the .NET thread.
(Inherited from LogEntry.)
Public property Message
Message body to log. Value from ToString() method from message object.
(Inherited from LogEntry.)
Public property Priority
Importance of the log message. Only messages whose priority is between the minimum and maximum priorities (inclusive) will be processed.
(Inherited from LogEntry.)
Public property ProcessId
The Win32 process ID for the current running process.
(Inherited from LogEntry.)
Public property ProcessName
The name of the current running process.
(Inherited from LogEntry.)
Public property RelatedActivityId
Related activity id
(Inherited from LogEntry.)
Public property Severity
Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error).
(Inherited from LogEntry.)
Public property TimeStamp
Date and time of the log entry message.
(Inherited from LogEntry.)
Public property TimeStampString
Read-only property that returns the timeStamp formatted using the current culture.
(Inherited from LogEntry.)
Public property Title
Additional description of the log entry message.
(Inherited from LogEntry.)
Public property Win32ThreadId
The Win32 Thread ID for the current thread.
(Inherited from LogEntry.)
Public property Xml
XML to Log.

See Also

XmlLogEntry Class

Microsoft.Practices.EnterpriseLibrary.Logging Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.