Edytuj

Udostępnij za pośrednictwem


IStorageDeserializer.Deserialize Method

Definition

Overloads

Deserialize(Stream, Type)

Deserializes the given data from a stream.

Deserialize(TextReader, Type)

Deserializes the given data from a text stream.

Deserialize(Object, Type)

Deserializes the given data.

Deserialize(Stream, Type)

Source:
IStorageDeserializer.cs

Deserializes the given data from a stream.

public object Deserialize (System.IO.Stream dataStream, Type grainStateType);
abstract member Deserialize : System.IO.Stream * Type -> obj
Public Function Deserialize (dataStream As Stream, grainStateType As Type) As Object

Parameters

dataStream
Stream

The stream from which to serialize.

grainStateType
Type

The type of the grain state.

Returns

The deserialized object.

Applies to

Deserialize(TextReader, Type)

Source:
IStorageDeserializer.cs

Deserializes the given data from a text stream.

public object Deserialize (System.IO.TextReader reader, Type grainStateType);
abstract member Deserialize : System.IO.TextReader * Type -> obj
Public Function Deserialize (reader As TextReader, grainStateType As Type) As Object

Parameters

reader
TextReader

The text stream from which to serialize.

grainStateType
Type

The type of the grain state.

Returns

The deserialized object.

Applies to

Deserialize(Object, Type)

Source:
IStorageDeserializer.cs

Deserializes the given data.

public object Deserialize (object data, Type grainStateType);
abstract member Deserialize : obj * Type -> obj
Public Function Deserialize (data As Object, grainStateType As Type) As Object

Parameters

data
Object

The data to be serialized.

grainStateType
Type

The type of the grain state.

Returns

The deserialized object.

Applies to