ISmoothStreamingCache.OpenMedia Method
Opens the specified media for ISmoothStreamingCache operations.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Sub OpenMedia ( _
manifestUri As Uri _
)
'Usage
Dim instance As ISmoothStreamingCache
Dim manifestUri As Uri
instance.OpenMedia(manifestUri)
void OpenMedia(
Uri manifestUri
)
void OpenMedia(
Uri^ manifestUri
)
abstract OpenMedia :
manifestUri:Uri -> unit
function OpenMedia(
manifestUri : Uri
)
Parameters
- manifestUri
Type: System.Uri
The Uri of the media manifest.
Remarks
The OpenMedia method is called before any other interface call. The cache plug-in can take advantage of this behavior to handle initialization, although a static cache such as a disk cache does not normally require any initialization.
Multiple OpenMedia calls can be made with the same Uri. Each OpenMedia call is reference counted and should be paired with a CloseMedia(Uri) call.
Version Information
Silverlight
Supported in: 5