PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Write­Message­Options Structure / Write­Message­Options Constructor / Write­Message­Options Constructor (Log­Event­Data)

WriteMessageOptions Constructor (LogEventData)

Initializes a WriteMessageOptions and optionally specifies the properties given a LogEventData.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
public WriteMessageOptions(
	 in LogEventData data
)

Parameters

data
Type: PostSharp.Patterns.Diagnostics.Custom.LogEventData
Optional. Specifies the properties of the WriteMessageOptions. See LogEventData.
See Also