Message.Write Method (MessageLocation, SeverityType, String, String, Object[]) |
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
public static void Write( MessageLocation messageLocation, SeverityType severity, string errorCode, string format, params Object[] arguments )
Parameters
- messageLocation
- Type: PostSharp.Extensibility.MessageLocation
Element of code (Assembly, Type, MethodInfo, ConstructorInfo, PropertyInfo, EventInfo or ParameterInfo) to which the message applies. When called from PostSharp.Sdk, the parameter can also contain a MetadataDeclaration. - severity
- Type: PostSharp.Extensibility.SeverityType
Severity. - errorCode
- Type: System.String
Error code. - format
- Type: System.String
Error message formatting string. - arguments
- Type: System.Object[]
Formatting string arguments.