IFsrmPropertyBag::AddMessage method (fsrmpipeline.h)

Adds an error message to the bag.

Syntax

HRESULT AddMessage(
  [in] BSTR message
);

Parameters

[in] message

The error message to add to the bag. The message is limited to 4096 characters (the message is truncated if longer than 4096 characters).

Return value

The method returns the following return values.

Remarks

You can add only one message to the bag. The message is written to the error log, if enabled.

If any of the following implementations returns an error code, FSRM automatically adds a message (which does not count against the one-message limit) that includes the error code and associated message string:

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h
DLL SrmSvc.dll

See also

IFsrmPropertyBag

IFsrmPropertyBag::Messages