ExceptionSettings Class

Definition

Contains security-related settings that influence how errors are serialized and deserialized.

public abstract class ExceptionSettings : IEquatable<StreamJsonRpc.ExceptionSettings>
type ExceptionSettings = class
    interface IEquatable<ExceptionSettings>
Public MustInherit Class ExceptionSettings
Implements IEquatable(Of ExceptionSettings)
Inheritance
ExceptionSettings
Implements

Constructors

Name Description
ExceptionSettings(ExceptionSettings)
ExceptionSettings(Int32)

Initializes a new instance of the ExceptionSettings class.

Fields

Name Description
TrustedData

The recommended settings for use when communicating with a trusted party.

UntrustedData

The recommended settings for use when communicating with an untrusted party.

Properties

Name Description
EqualityContract
RecursionLimit

Gets the maximum number of nested errors to serialize or deserialize.

Methods

Name Description
<Clone>$()
CanDeserialize(Type)

Tests whether a type can be deserialized as part of deserializing an exception.

Equals(ExceptionSettings)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
Equality(ExceptionSettings, ExceptionSettings)
Inequality(ExceptionSettings, ExceptionSettings)

Applies to