PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Write­Message­Options Structure

WriteMessageOptions Structure

Options for the Exception method.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public struct WriteMessageOptions

The WriteMessageOptions type exposes the following members.

Constructors
  NameDescription
Public methodWriteMessageOptions(Object)
Initializes a WriteMessageOptions and optionally specifies the properties given a CLR object.
Public methodWriteMessageOptions(LogEventData)
Initializes a WriteMessageOptions and optionally specifies the properties given a LogEventData.
Properties
  NameDescription
Public propertyData
Specifies the properties of the WriteMessageOptions, typically specified as an instance of a well-known or anonymous CLR type.
Public propertyProperties Obsolete.
Gets the activity properties.
See Also