Open sandboxFocus

Struct CloseActivityOptions

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

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common.dll
Syntax
public struct CloseActivityOptions

Constructors

Name Description
CloseActivityOptions(in LogEventData)

Initializes a new CloseActivityOptions and specifies properties using a LogEventData.

CloseActivityOptions(object)

Initializes a new CloseActivityOptions and specifies properties using an arbitrary object (possibly of an anonymous class).

Properties

Name Description
Data

Specifies the properties of the CloseActivityOptions, typically specified as an instance of a well-known or anonymous CLR type.

Properties

Gets the activity properties.