CacheRequest2 Class

Provides an extension of the CacheRequest class that enables creation of a CacheRequest object based on a specified stream or a specified HttpWebRequest object and list of selectable tracks.

Inheritance Hierarchy


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



Public Class CacheRequest2 _
    Inherits CacheRequest

Dim instance As CacheRequest2
public class CacheRequest2 : CacheRequest
public ref class CacheRequest2 : public CacheRequest
type CacheRequest2 =  
        inherit CacheRequest
public class CacheRequest2 extends CacheRequest

The CacheRequest2 type exposes the following members.


  Name Description
Public method CacheRequest2(Stream) Initializes a new instance of the CacheRequest2 class based on the specified stream.
Public method CacheRequest2(HttpWebRequest, IList<TrackInfo>) Initializes a new instance of the CacheRequest2 class based on the specified web request and list of selectable tracks.



  Name Description
Public property CanonicalUri The Uri of the request. (Inherited from CacheRequest.)
Public property SelectableTracks Gets a list of suggested tracks for the cache plug-in to choose for downloading.
Public property WebRequest Gets or sets a web request that the media element downloader uses for downloading.



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadFrom Reads the request from a Stream object. There is no default implementation for this method. Calling the method without implementing an override will result in a NotSupportedException. (Inherited from CacheRequest.)
Public method ToString (Inherited from Object.)
Public method WriteTo Writes the request to a Stream object. (Inherited from CacheRequest.)


Version Information


Supported in: 5

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.Web.Media.SmoothStreaming Namespace