PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message Class / Message Methods / Message.​Write Method / Message.​Write Method (Type, Severity­Type, String, String, Object[])

Message.Write Method (Type, SeverityType, String, String, Object[])

Writes a message.

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

Parameters

type
Type: System.Type
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