Priority Property (IMessageSendNames Interface)



Priority is an optional read-only property of the IMessageSendNames interface that returns the message parameter name expected by the MessageLog2.SendLogMessage method for specifying a message priority.


The Priority property of a message is an integer between 1 and 10 (1 being the most important - "highest priority") that is used by an application to define the order in which a message condition should be handled relative to other messages.  Unlike severity, which defines the criticality of a message, priority is intended to indicate ordering of corrective action.  Priority is always an optional part of a message as only an application can determine if it is needed and what its value should be.




The object placeholder is an object expression that evaluates to a IMessageSendNames  interface.

The IMessageSendNames interface can be obtained directly from the MessageLog2.MessageSendNames property or by using QueryInterface (assignment, in VB, casting in .Net) on a MessageLog or MessageLog2 object.

When adding to the NamedValues collection, the IMessageSendNames interface acts with Intellisense to show the available parameter options and ensures only names that are supported are used.

Enabling Operational Intelligence