Edit

Share via


TypeCodec.TryRead<TInput>(Reader<TInput>) Method

Definition

Reads a type.

public Type TryRead<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> reader);
member this.TryRead : Reader -> Type
Public Function TryRead(Of TInput) (ByRef reader As Reader(Of TInput)) As Type

Type Parameters

TInput

The reader input type.

Parameters

reader
Reader<TInput>

The reader.

Returns

The type if it was successfully read, null otherwise.

Applies to