Click or drag to resize

Segment Class

A trace segment tracks a period of time associated with a computation or action, along with annotations and key / value data. A set of trace segments all of which share the same tracing ID form a trace.
Inheritance Hierarchy

Namespace:  Amazon.XRay.Recorder.Core.Internal.Entities
Assembly:  AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
[SerializableAttribute]
public class Segment : Entity

The Segment type exposes the following members.

Constructors
  NameDescription
Public methodSegment
Initializes a new instance of the Segment class.
Top
Properties
  NameDescription
Public propertyIsServiceAdded
Gets a value indicating whether any value has been added to service.
Public propertyOrigin
Gets or sets the origin of the segment.
Public propertyService
Gets the service.
Public propertySize
Gets the size of subsegments.
Public propertyUser
Gets or Sets the User for the segment
Top
Methods
  NameDescription
Public methodDecrementSize
Decrement the size count.
Public methodGetUser
Gets the value of the User for this segment
Public methodIncrementSize
Increment the size count.
Public methodIsEmittable
Check if this segment or the root segment that this segment belongs to is ok to emit.
(Overrides EntityIsEmittable.)
Public methodRelease
Release reference to this instance of segment.
(Overrides EntityRelease.)
Public methodSetUser
Sets the User for this segment
Top
See Also