Udostępnij za pośrednictwem


LogEntry.Priority Property

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.

Importance of the log message. Only messages whose priority is between the minimum and maximum priorities (inclusive) will be processed.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
PublicPropertyPriorityAs Integer
public int Priority { get; set; }
public:
property int Priority {
    int get ();
    voidset (int value);
}
publicfunction getPriority () : int
publicfunction setPriority (value : int)

See Also

LogEntry 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.