EntityAddAnnotation Method |
Adds the specified key and value as annotation to current segment.
The type of value is restricted. Only
String,
Int32,
Int64,
Double and
Boolean are supported.
Namespace:
Amazon.XRay.Recorder.Core.Internal.Entities
Assembly:
AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax public void AddAnnotation(
string key,
Object value
)
Parameters
- key
- Type: SystemString
The key of the annotation to add - value
- Type: SystemObject
The value of the annotation to add
Exceptions See Also