MessageManager Object
Use this object to store error messages in multiple languages that the Order Processing pipeline (OPP) components use to describe error conditions generated during order processing.
ProgID: | Commerce.MessageManager (Externally creatable) |
COM Class Name: | MSCSMessageManager_3_0 |
Type Library Name: | Commerce -- MSCSAspHelp Type Library |
DLL Name: | MSCSAspHelp.dll |
Threading Model: | Both |
The single property of the MessageManager object is shown in the following table.
Property | Type | Description |
defaultLanguage | String | Specifies the default message set for the MessageManager object.
This property is read/write. |
The methods of the MessageManager object are shown in the following table.
Method | Description |
AddLanguage | Adds a new message set to the MessageManager object and associates that message set with a locale. |
AddMessage | Adds a new message to the MessageManager object. |
GetLocale | Returns the locale for the specified message set. |
GetMessage | Returns the message associated with the specified message name constant. |