PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message Class / Message Methods / Message.​Write Method / Message.​Write Method (Member­Info, Severity­Type, String, String, Object[])
Message.Write Method (MemberInfo, SeverityType, String, String, Object[])
Writes a message.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public static void Write(
	MemberInfo codeElement,
	SeverityType severity,
	string errorCode,
	string format,
	params Object[] arguments
)

Parameters

codeElement
Type: System.Reflection.MemberInfo
Element of code to which the message applies.
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.
See Also