PostSharp6.1/API Reference/Post­Sharp.​Extensibility Namespace/Message Class/Message Methods/Message.​Write Method/Message.​Write Method (Location­Info, Severity­Type, String, String, Object[])

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

Writes a message.

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

Parameters

codeElement
Type: PostSharp.Reflection.LocationInfo
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