Skip to content

Class DistributedTracingExtensions ​

Namespace: Momentum.ServiceDefaults.Messaging
Assembly: Momentum.ServiceDefaults.dll

csharp
public static class DistributedTracingExtensions

Inheritance ​

object ← DistributedTracingExtensions

Inherited Members ​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties ​

TraceParentAttribute ​

csharp
public static CloudEventAttribute TraceParentAttribute { get; }

Property Value ​

CloudEventAttribute

Methods ​

GetTraceParent(CloudEvent) ​

csharp
public static string? GetTraceParent(this CloudEvent cloudEvent)

Parameters ​

cloudEvent CloudEvent

Returns ​

string?

SetTraceParent(CloudEvent, string) ​

csharp
public static CloudEvent SetTraceParent(this CloudEvent cloudEvent, string traceParent)

Parameters ​

cloudEvent CloudEvent

traceParent string

Returns ​

CloudEvent