HybridContextContainer Methods |
The HybridContextContainer type exposes the following members.
Name | Description | |
---|---|---|
ClearEntity |
Clear entity from CallContext and HTTPContext for cleanup.
(Overrides TraceContextImplClearEntity.) | |
GetEntity |
Gets entity (segment/subsegment) from the call context. If entity is not present in call context, it populates the callcontext with the entity from HttpContext.
(Overrides TraceContextImplGetEntity.) | |
InjectEntityInTraceContext |
Gets Segment from HttpContext and sets it to CallContext.
| |
IsEntityPresent |
Checks whether entity is present in CallContext. If not, check in HttpContext
(Overrides TraceContextImplIsEntityPresent.) | |
SetEntity |
Set the specified entity (segment/subsegment) into call context. If the entity is segment, its also stored in HttpContext.(HTTPContext.Items[XRayEntity])
(Overrides TraceContextImplSetEntity(Entity).) |