CacheResponse Constructor (Stream, Boolean)
Initializes a new instance of the CacheResponse class from a Stream object specifying whether to continue processing in case of a cache miss.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Sub New ( _
stream As Stream, _
continueProcessing As Boolean _
)
'Usage
Dim stream As Stream
Dim continueProcessing As Boolean
Dim instance As New CacheResponse(stream, _
continueProcessing)
public CacheResponse(
Stream stream,
bool continueProcessing
)
public:
CacheResponse(
Stream^ stream,
bool continueProcessing
)
new :
stream:Stream *
continueProcessing:bool -> CacheResponse
public function CacheResponse(
stream : Stream,
continueProcessing : boolean
)
Parameters
- stream
Type: System.IO.Stream
A Stream object.
- continueProcessing
Type: System.Boolean
A Boolean value indicating whether cache response processing continues to the next cache module (including HTTP download) in case of a cache miss. true if the cache response processing continues; otherwise, false.
Version Information
Silverlight
Supported in: 5