IMSCSMessageManager_3_0::AddMessage

The AddMessage method adds a message to a specified language.

Syntax

HRESULT AddMessage(
BSTR bstrName,// in
BSTR bstrMessage,// in
VARIANT vtLanguage// in
);

Parameters

bstrName
A string name for the message to add. This name must be a name that is known to the order processing pipeline (OPP) component that will use the message to identify an error condition.
bstrMessage
The text of the message to add.
vtLanguage
A BSTR VARIANT that identifies the language with which to associate this message, or a long VARIANT that identifies a locale constant.

Include File

<commerce.h>

Return Value

Value Description
E_FAIL The language specified for this message does not exist in the MessageManager.
S_OK The method succeeded.

Related Topic

IMSCSMessageManager_3_0::AddLanguage


© 1997-1998 Microsoft Corporation. All rights reserved.