MessageSource.Write Method (MemberInfo, SeverityType, String, Object[]) |
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
public void Write( MemberInfo codeElement, SeverityType severity, string messageId, params Object[] arguments )
Parameters
- codeElement
- Type: System.Reflection.MemberInfo
Source code artifact (Type, MethodInfo, ConstructorInfo, FieldInfo, EventInfo, PropertyInfo) 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. - arguments
- Type: System.Object[]
Array of arguments used to format the message text, or null if this message has no argument.