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

CloseActivityOptions Structure

Options of the closing methods of the LogActivity<TActivityDescription> type.

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 CloseActivityOptions

The CloseActivityOptions type exposes the following members.

Constructors
  NameDescription
Public methodCloseActivityOptions(Object)
Initializes a new CloseActivityOptions and specifies properties using an arbitrary object (possibly of an anonymous class).
Public methodCloseActivityOptions(LogEventData)
Initializes a new CloseActivityOptions and specifies properties using a LogEventData.
Properties
  NameDescription
Public propertyData
Specifies the properties of the CloseActivityOptions, typically specified as an instance of a well-known or anonymous CLR type.
Public propertyProperties Obsolete.
Gets the activity properties.
See Also