IFsrmPropertyBag::AddMessage method

Adds an error message to the bag.

Syntax

HRESULT AddMessage(
  BSTR message
);

Parameters

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h
DLL SrmSvc.dll

See Also

IFsrmPropertyBag

IFsrmPropertyBag::Messages