ActivityLink(ActivityContext, ActivityTagsCollection) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a new activity link, which can be linked to an activity.
public ActivityLink (System.Diagnostics.ActivityContext context, System.Diagnostics.ActivityTagsCollection? tags = default);
new System.Diagnostics.ActivityLink : System.Diagnostics.ActivityContext * System.Diagnostics.ActivityTagsCollection -> System.Diagnostics.ActivityLink
Public Sub New (context As ActivityContext, Optional tags As ActivityTagsCollection = Nothing)
Parameters
- context
- ActivityContext
The trace activity context.
The key-value pair list of tags associated to the activity context.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.