CacheRequest2 Constructor (Stream)

Initializes a new instance of the CacheRequest2 class based on the specified stream.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Sub New ( _
    stream As Stream _
)
'Usage

Dim stream As Stream

Dim instance As New CacheRequest2(stream)
public CacheRequest2(
    Stream stream
)
public:
CacheRequest2(
    Stream^ stream
)
new : 
        stream:Stream -> CacheRequest2
public function CacheRequest2(
    stream : Stream
)

Parameters

Remarks

The CacheRequst2 instance reads from a stream that has been written using the WriteTo(Stream) method. Because serialization uses big-endian byte order for wire format, deserialization can take place on a different platform.

Version Information

Silverlight

Supported in: 5

See Also

Reference

CacheRequest2 Class

CacheRequest2 Overload

Microsoft.Web.Media.SmoothStreaming Namespace