Edit

Share via


ExceptionCodec.Serialize Method

Definition

Overloads

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

Serializes the provided value.

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

Serializes the provided value.

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

Serializes the provided value.

public void Serialize<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, Exception value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
abstract member Serialize : Writer * Exception -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
override this.Serialize : Writer * Exception -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Sub Serialize(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), value As Exception)

Type Parameters

TBufferWriter

The buffer writer type.

Parameters

writer
Writer<TBufferWriter>

The writer.

value
Exception

The value.

Implements

Applies to

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

Serializes the provided value.

public void Serialize<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, object value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
abstract member Serialize : Writer * obj -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
override this.Serialize : Writer * obj -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Sub Serialize(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), value As Object)

Type Parameters

TBufferWriter

The buffer writer type.

Parameters

writer
Writer<TBufferWriter>

The writer.

value
Object

The value.

Implements

Applies to