Click or drag to resize

HybridContextContainerGetEntity Method

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.

Namespace:  Amazon.XRay.Recorder.Core.Internal.Context
Assembly:  AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
public override Entity GetEntity()

Return Value

Type: Entity
The entity (segment/subsegment)

Implements

ITraceContextGetEntity
Exceptions
ExceptionCondition
EntityNotAvailableExceptionThrown when the entity is not available to get.
See Also