Click or drag to resize

DefaultExceptionSerializationStrategy Class

Defines default startegy for recording exception. By default AmazonServiceException class exeptions are marked as remote.
Inheritance Hierarchy
SystemObject
  Amazon.XRay.Recorder.Core.StrategiesDefaultExceptionSerializationStrategy

Namespace:  Amazon.XRay.Recorder.Core.Strategies
Assembly:  AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
[SerializableAttribute]
public class DefaultExceptionSerializationStrategy : ExceptionSerializationStrategy

The DefaultExceptionSerializationStrategy type exposes the following members.

Constructors
  NameDescription
Public methodDefaultExceptionSerializationStrategy
Initializes a new instance of the _defaultExceptionClasses class.
Public methodDefaultExceptionSerializationStrategy(Int32)
Initializes DefaultExceptionSerializationStrategy instance with provided Stack frame size. While setting number consider max trace size limit : https://aws.amazon.com/xray/pricing/
Public methodDefaultExceptionSerializationStrategy(ListType)
Initializes DefaultExceptionSerializationStrategy instance with provided list of types for which exceptions should be marked as remote.
Public methodDefaultExceptionSerializationStrategy(Int32, ListType)
Initializes DefaultExceptionSerializationStrategy instance with provided Stack frame size and list of types for which exceptions should be marked as remote. While setting number consider max trace size limit : https://aws.amazon.com/xray/pricing/
Top
Properties
  NameDescription
Public propertyMaxStackFrameSize
The maximum stack frame size for the strategy.
Top
Methods
  NameDescription
Public methodDescribeException
Visit each node in the cause chain. For each node: Determine if it has already been described in one of the child subsegments' causes. If so, link there. Otherwise, describe it and add it to the Cause and returns the list of ExceptionDescriptor.
Public methodStatic memberGetValidStackFrameSize
Validates and returns valid max stack frame size.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultStackFrameSize
Default stack frame size for the recorded Exception.
Top
See Also