Share via


IDataCacheObjectSerializer.Serialize Method (Stream, Object)

 

Serializes an object to a memory stream.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Syntax

void Serialize(
    Stream stream,
    object value
)
void Serialize(
    Stream^ stream,
    Object^ value
)
abstract Serialize : 
        stream:Stream *
        value:Object -> unit
Sub Serialize (
    stream As Stream,
    value As Object
)

Parameters

  • stream
    Type: System.IO.Stream

    A memory stream to use to store the serialized object.

See Also

IDataCacheObjectSerializer Interface
Microsoft.ApplicationServer.Caching Namespace

Return to top