Previous in Contents Next in Contents

MessageManager.GetMessage Method

The GetMessage method returns the text of the specified error message.

Syntax

MessageManager.GetMessage(MessageConstant, MessageSet)

Parameters

MessageConstant
The message constant name of the message to return. This is the name associated with this message when it was added to the MessageManager through a call to AddMessage.
MessageSet
Optional. The name of the message set to which the desired message text belongs. This string specifies a message set that was added to the MessageManager through a previous call to AddLanguage. If this parameter is not specified, the message is returned for the message set identified by the MessageManager's DefaultLanguage property.

Remarks

The GetMessage method is seldom called from within a site. Instead, it is used by order OPP components to retrieve the messages that describe errors occurring in the purchase process.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.