OrleansGeneratedCodeHelper.DeserializeUnexpectedType<TInput,TField> 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.
Deserializes an unexpected value.
public static TField DeserializeUnexpectedType<TInput,TField> (this ref Orleans.Serialization.Buffers.Reader<TInput> reader, scoped ref Orleans.Serialization.WireProtocol.Field field) where TField : class;
static member DeserializeUnexpectedType : Reader * Field -> 'Field (requires 'Field : null)
<Extension()>
Public Function DeserializeUnexpectedType(Of TInput, TField) (ByRef reader As Reader(Of TInput), ByRef field As Field) As TField
Type Parameters
- TInput
The reader input type.
- TField
The value type.
Parameters
- reader
- Reader<TInput>
The reader.
- field
- Field
The field.
Returns
TField
The value.