Click or drag to resize

ITraceContextGetEntity Method

Get entity (segment/subsegment) from the trace context.

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

Return Value

Type: Entity
The segment get from context
Exceptions
ExceptionCondition
EntityNotAvailableExceptionThrown when the entity is not available to get.
See Also