Open sandboxFocus

Struct CloseActivityOptions

Represents the 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 instance of the CloseActivityOptions struct and specifies properties using a LogEventData.

CloseActivityOptions(object)

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

Properties

Name Description
Data

Gets or sets the properties of the CloseActivityOptions. They are typically specified as an instance of a well-known or anonymous CLR type.

Properties

Gets or sets the activity properties.