MessageFormatter.FormatMessage Method

Returns a formatted message.

Syntax

BegFunc FormatMessage Access(*Public) Type(*String)
   DclSrParm msgFilePath  Type(*String)
   DclSrParm message Type(ASNA.Monarch.Message)

Parameters

msgFilePath
String. The file path for the message being formatted.
message
An instance of an ASNA.Monarch.Message object being formatted.

Return Value

String. The formatted message.

Exceptions

The following exceptions may be encountered during the execution of this method.

Value Condition
InvalidMesssageFormatException The message file is not properly formatted.

Requirements

Namespace: ASNA.Monarch
Assembly: ASNA.Monarch.WebDspF.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro