다음을 통해 공유


MessageManager Object

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Note

The MessageManager object is obsolete.

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

COM Interface Name:

IMSCSMessageManager_3_0

Interface ID Constant:

IID_IMSCSMessageManager_3_0

Header File:

commerce.h

[C++]

In C++, use the IMSCSMessageManager_3_0 interface to access the properties and methods of the MessageManager object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

Methods

Method

Description

IMSCSMessageManager_3_0::AddLanguage Method

Adds a new message set to the MessageManager object and associates that message set with a locale.

IMSCSMessageManager_3_0::AddMessage Method

Adds a new message to the MessageManager object.

IMSCSMessageManager_3_0::GetLocale Method

Returns the locale for the specified message set.

IMSCSMessageManager_3_0::GetMessage Method

Returns the message associated with the specified message name constant.

Properties

Property

Description

IMSCSMessageManager::get_DefaultLanguage, put_DefaultLanguage Property

Specifies the default message set for the MessageManager object.

This property is read/write.

See Also

Other Resources

COM Object Reference