ObjectSerializer.Deserialize Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Deserialize(ReadOnlyMemory<Byte>, SerializerSession, Type) |
Deserialice un valor de tipo |
Deserialize(Stream, SerializerSession, Type) |
Deserialice un valor de tipo |
Deserialize(Byte[], SerializerSession, Type) |
Deserialice un valor de tipo |
Deserialize(ReadOnlySequence<Byte>, SerializerSession, Type) |
Deserialice un valor de tipo |
Deserialize(ArraySegment<Byte>, SerializerSession, Type) |
Deserialice un valor de tipo |
Deserialize(ReadOnlySpan<Byte>, SerializerSession, Type) |
Deserialice un valor de tipo |
Deserialize(ReadOnlyMemory<Byte>, Type) |
Deserialice un valor de tipo |
Deserialize(Stream, Type) |
Deserialice un valor de tipo |
Deserialize(Byte[], Type) |
Deserialice un valor de tipo |
Deserialize(ReadOnlySequence<Byte>, Type) |
Deserialice un valor de tipo |
Deserialize(ArraySegment<Byte>, Type) |
Deserialice un valor de tipo |
Deserialize(ReadOnlySpan<Byte>, Type) |
Deserialice un valor de tipo |
Deserialize<TInput>(Reader<TInput>, Type) |
Deserialice un valor de tipo |
Deserialize(ReadOnlyMemory<Byte>, SerializerSession, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (ReadOnlyMemory<byte> source, Orleans.Serialization.Session.SerializerSession session, Type type);
member this.Deserialize : ReadOnlyMemory<byte> * Orleans.Serialization.Session.SerializerSession * Type -> obj
Public Function Deserialize (source As ReadOnlyMemory(Of Byte), session As SerializerSession, type As Type) As Object
Parámetros
- source
- ReadOnlyMemory<Byte>
Búfer de origen.
- session
- SerializerSession
Sesión de serializador.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(Stream, SerializerSession, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (System.IO.Stream source, Orleans.Serialization.Session.SerializerSession session, Type type);
member this.Deserialize : System.IO.Stream * Orleans.Serialization.Session.SerializerSession * Type -> obj
Public Function Deserialize (source As Stream, session As SerializerSession, type As Type) As Object
Parámetros
- source
- Stream
Búfer de origen.
- session
- SerializerSession
Sesión de serializador.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(Byte[], SerializerSession, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (byte[] source, Orleans.Serialization.Session.SerializerSession session, Type type);
member this.Deserialize : byte[] * Orleans.Serialization.Session.SerializerSession * Type -> obj
Public Function Deserialize (source As Byte(), session As SerializerSession, type As Type) As Object
Parámetros
- source
- Byte[]
Búfer de origen.
- session
- SerializerSession
Sesión de serializador.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ReadOnlySequence<Byte>, SerializerSession, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (System.Buffers.ReadOnlySequence<byte> source, Orleans.Serialization.Session.SerializerSession session, Type type);
member this.Deserialize : System.Buffers.ReadOnlySequence<byte> * Orleans.Serialization.Session.SerializerSession * Type -> obj
Public Function Deserialize (source As ReadOnlySequence(Of Byte), session As SerializerSession, type As Type) As Object
Parámetros
- source
- ReadOnlySequence<Byte>
Búfer de origen.
- session
- SerializerSession
Sesión de serializador.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ArraySegment<Byte>, SerializerSession, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (ArraySegment<byte> source, Orleans.Serialization.Session.SerializerSession session, Type type);
member this.Deserialize : ArraySegment<byte> * Orleans.Serialization.Session.SerializerSession * Type -> obj
Public Function Deserialize (source As ArraySegment(Of Byte), session As SerializerSession, type As Type) As Object
Parámetros
- source
- ArraySegment<Byte>
Búfer de origen.
- session
- SerializerSession
Sesión de serializador.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ReadOnlySpan<Byte>, SerializerSession, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (ReadOnlySpan<byte> source, Orleans.Serialization.Session.SerializerSession session, Type type);
member this.Deserialize : ReadOnlySpan<byte> * Orleans.Serialization.Session.SerializerSession * Type -> obj
Public Function Deserialize (source As ReadOnlySpan(Of Byte), session As SerializerSession, type As Type) As Object
Parámetros
- source
- ReadOnlySpan<Byte>
Búfer de origen.
- session
- SerializerSession
Sesión de serializador.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ReadOnlyMemory<Byte>, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (ReadOnlyMemory<byte> source, Type type);
member this.Deserialize : ReadOnlyMemory<byte> * Type -> obj
Public Function Deserialize (source As ReadOnlyMemory(Of Byte), type As Type) As Object
Parámetros
- source
- ReadOnlyMemory<Byte>
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(Stream, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (System.IO.Stream source, Type type);
member this.Deserialize : System.IO.Stream * Type -> obj
Public Function Deserialize (source As Stream, type As Type) As Object
Parámetros
- source
- Stream
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(Byte[], Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (byte[] source, Type type);
member this.Deserialize : byte[] * Type -> obj
Public Function Deserialize (source As Byte(), type As Type) As Object
Parámetros
- source
- Byte[]
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ReadOnlySequence<Byte>, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (System.Buffers.ReadOnlySequence<byte> source, Type type);
member this.Deserialize : System.Buffers.ReadOnlySequence<byte> * Type -> obj
Public Function Deserialize (source As ReadOnlySequence(Of Byte), type As Type) As Object
Parámetros
- source
- ReadOnlySequence<Byte>
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ArraySegment<Byte>, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (ArraySegment<byte> source, Type type);
member this.Deserialize : ArraySegment<byte> * Type -> obj
Public Function Deserialize (source As ArraySegment(Of Byte), type As Type) As Object
Parámetros
- source
- ArraySegment<Byte>
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize(ReadOnlySpan<Byte>, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize (ReadOnlySpan<byte> source, Type type);
member this.Deserialize : ReadOnlySpan<byte> * Type -> obj
Public Function Deserialize (source As ReadOnlySpan(Of Byte), type As Type) As Object
Parámetros
- source
- ReadOnlySpan<Byte>
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.
Se aplica a
Deserialize<TInput>(Reader<TInput>, Type)
Deserialice un valor de tipo type
de source
.
public object Deserialize<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> source, Type type);
member this.Deserialize : Reader * Type -> obj
Public Function Deserialize(Of TInput) (ByRef source As Reader(Of TInput), type As Type) As Object
Parámetros de tipo
- TInput
Tipo de entrada del lector.
Parámetros
- source
- Reader<TInput>
Búfer de origen.
- type
- Type
Tipo esperado del valor.
Devoluciones
Valor deserializado.