Basahin sa Ingles I-edit

Ibahagi sa


ExceptionCodec Class

Definition

Serializer for Exception types.

C#
[Orleans.Alias("Exception")]
[Orleans.RegisterCopier]
[Orleans.RegisterSerializer]
public sealed class ExceptionCodec : Orleans.Serialization.Cloning.IBaseCopier<Exception>, Orleans.Serialization.Codecs.IFieldCodec<Exception>, Orleans.Serialization.Serializers.IBaseCodec<Exception>, Orleans.Serialization.Serializers.IBaseCodec<object>, Orleans.Serialization.Serializers.IGeneralizedBaseCodec, Orleans.Serialization.Serializers.IGeneralizedCodec
Inheritance
ExceptionCodec
Attributes
Implements

Constructors

Methods

DeepCopy(Exception, Exception, CopyContext)

Clones members from input and copies them to output.

Deserialize<TInput>(Reader<TInput>, Exception)

Deserializes into the provided value.

Deserialize<TInput>(Reader<TInput>, Object)

Deserializes into the provided value.

DeserializeException<TInput>(Reader<TInput>, Field)
GetDataProperty(Exception)

Gets the data property from the provided exception.

GetObjectData(Exception)

Gets the object data from the provided exception.

IsSupportedType(Type)

Determines whether the specified type is supported by this instance.

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

Serialize<TBufferWriter>(Writer<TBufferWriter>, Exception)

Serializes the provided value.

Serialize<TBufferWriter>(Writer<TBufferWriter>, Object)

Serializes the provided value.

SerializeException<TBufferWriter>(Writer<TBufferWriter>, Exception) System.Object.SerializeException``1(Orleans.Serialization.Buffers.Writer{``0}@,System.Exception)
SetBaseProperties(Exception, String, String, Exception, Int32, Dictionary<Object,Object>)

Sets base properties on the provided exception.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Exception)

Writes a field.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Writes a field using the provided untyped value. The type must still match the codec instance!

Explicit Interface Implementations

Applies to

Produkto Mga Bersyon
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0