ActivityCreationOptions<T>
Encapsulates all the information that is sent to the activity listener, to make decisions about the creation of the activity instance, as well as its state.
The possible generic type parameters are ActivityContext or String.
Gets the activity kind which the activity will be created with.
Gets the enumeration of activity links that the activity will be created with.
Gets the name to use as OperationName of the activity that will get created.
Gets the parent context or parent Id that the activity will get created with.
Gets the collection that is used to add more tags during the sampling process. The added tags are also added to the created Activity if it is decided that it should be created by the ActivityListener callbacks.
Gets the activity source that creates the activity.
Gets the tags that the activity will be created with.
Gets the trace Id to use in the Activity object if it is decided that it should be created by ActivityListener callbacks.
Gets or initializes the trace state to use when creating the Activity.