MessageSource.Write Method (MessageLocation, SeverityType, String, Exception, Object[]) |
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
public void Write( MessageLocation location, SeverityType severity, string messageId, Exception innerException, params Object[] arguments )
Parameters
- location
- Type: PostSharp.Extensibility.MessageLocation
Location of the source code artifact that caused the message. - severity
- Type: PostSharp.Extensibility.SeverityType
Message severity (fatal error, error, info, debug). - messageId
- Type: System.String
Identifier of the message type. - innerException
- Type: System.Exception
The Exception that caused this message, or null if this message was not caused by an exception. - arguments
- Type: System.Object[]
Array of arguments used to format the message text, or null if this message has no argument.