Argument of the OpenActivity<T>(in T, in OpenActivityOptions) method.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common.dll
Syntax
public struct OpenActivityOptions
Constructors
Name | Description |
---|---|
OpenActivityOptions(in LogEventData, LogActivityKind) | Initializes a new OpenActivityOptions and specifies properties using a LogEventData. |
OpenActivityOptions(object, LogActivityKind) | Initializes a new OpenActivityOptions and specifies properties using an arbitrary object (possibly of an anonymous class). |
Properties
Name | Description |
---|---|
Data | Specifies the properties of the OpenActivityOptions, typically specified as an instance of a well-known or anonymous CLR type. |
IncomingRequestOptions | Gets or sets the logging options set by the remote caller of the request represented by the current OpenActivityOptions. |
IsSyntheticRootId | When the property value is |
Kind | Gets or sets the kind of LogActivity. |
Properties | Gets the activity properties. |
SyntheticParentId | When this property is set to a non-null value, the SyntheticId property shall use this property as the parent identifier, instead of recursively building the synthetic identifier based on the parent context. |
SyntheticRootId | When this property is set to a non-null value, the SyntheticId property shall return the the value of this property, instead of starting with the id of the parent context. |
TransactionRequirement | Gets or sets the TransactionRequirement for the current activity. These requirements can be set by the caller of OpenActivity<T>(in T, in OpenActivityOptions) or by ApplyTransactionRequirements(ref OpenActivityOptions). |