AWS X-Ray .NET API Documentation
AWS X-Ray .NET API Documentation
Amazon.XRay.Recorder.Core.Internal.Context
ITraceContext Interface
ITraceContext Methods
ClearEntity Method
GetEntity Method
HandleEntityMissing Method
IsEntityPresent Method
SetEntity Method
ITraceContext
GetEntity 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#
Copy
Entity
GetEntity
()
Return Value
Type:
Entity
The segment get from context
Exceptions
Exception
Condition
EntityNotAvailableException
Thrown when the entity is not available to get.
See Also
Reference
ITraceContext Interface
Amazon.XRay.Recorder.Core.Internal.Context Namespace