CreateMessage(MessageLocation, SeverityType, string, Exception, params object[])
Creates a Message from the current MessageSource.
Declaration
public Message CreateMessage(MessageLocation location, SeverityType severity, string messageId, Exception innerException, params object[] arguments)Parameters
| Type | Name | Description |
|---|---|---|
| MessageLocation | location | Location of the source code artifact causing the message. |
| SeverityType | severity | Severity. |
| string | messageId | Message identifier (resolved by the current MessageSource). |
| Exception | innerException | Exception causing the message, or |
| object[] | arguments | Arguments of the message text. |
Returns
| Type | Description |
|---|---|
| Message | A Message. |