AWS X-Ray .NET API Documentation
AWS X-Ray .NET API Documentation
Amazon.XRay.Recorder.Core.Internal.Context
TraceContextImpl Class
TraceContextImpl Methods
ClearEntity Method
GetEntity Method
HandleEntityMissing Method
IsEntityPresent Method
SetEntity Method
TraceContextImpl
SetEntity Method
Set the specified entity (segment/subsegment) into trace context.
Namespace:
Amazon.XRay.Recorder.Core.Internal.Context
Assembly:
AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
Copy
public
abstract
void
SetEntity
(
Entity
entity
)
Parameters
entity
Type:
Amazon.XRay.Recorder.Core.Internal.Entities
Entity
The segment to be set
Implements
ITraceContext
SetEntity(Entity)
Exceptions
Exception
Condition
EntityNotAvailableException
Thrown when the entity is not available to set
See Also
Reference
TraceContextImpl Class
Amazon.XRay.Recorder.Core.Internal.Context Namespace