TypeCodec.TryRead<TInput>(Reader<TInput>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.