Formatter.Deserialize(Stream) Método
Definição
Cuidado
BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.
Quando substituído em uma classe derivada, desserializa o fluxo anexado ao formatador quando ele foi criado, criando um grafo de objetos idênticos ao grafo originalmente serializado no fluxo.When overridden in a derived class, deserializes the stream attached to the formatter when it was created, creating a graph of objects identical to the graph originally serialized into that stream.
public:
abstract System::Object ^ Deserialize(System::IO::Stream ^ serializationStream);
[System.Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId="SYSLIB0011", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public abstract object Deserialize (System.IO.Stream serializationStream);
public abstract object Deserialize (System.IO.Stream serializationStream);
[<System.Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId="SYSLIB0011", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member Deserialize : System.IO.Stream -> obj
abstract member Deserialize : System.IO.Stream -> obj
Public MustOverride Function Deserialize (serializationStream As Stream) As Object
Parâmetros
- serializationStream
- Stream
O fluxo a desserializar.The stream to deserialize.
Retornos
O objeto superior do grafo desserializado de objetos.The top object of the deserialized graph of objects.
Implementações
- Atributos
Notas aos Implementadores
Você deve implementar esse método em uma classe derivada.You must implement this method in a derived class.