MessageSource.CreateMessage Method |
Creates a Message from the current MessageSource.
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public Message CreateMessage( MessageLocation location, SeverityType severity, string messageId, Exception innerException, params Object[] arguments )
Parameters
- location
- Type: PostSharp.Extensibility.MessageLocation
Location of the source code artifact causing the message. - severity
- Type: PostSharp.Extensibility.SeverityType
Severity. - messageId
- Type: System.String
Message identifier (resolved by the current MessageSource). - innerException
- Type: System.Exception
Exception causing the message, or null. - arguments
- Type: System.Object[]
Arguments of the message text.
Return Value
Type: MessageA Message.