Export (0) Print
Expand All

CacheRequest2 Class

Silverlight

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.

System.Object
  Microsoft.Web.Media.SmoothStreaming.CacheRequest
    Microsoft.Web.Media.SmoothStreaming.CacheRequest2

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


public class CacheRequest2 : CacheRequest

The CacheRequest2 type exposes the following members.

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

  NameDescription
Public propertyCanonicalUriThe Uri of the request. (Inherited from CacheRequest.)
Public propertySelectableTracksGets a list of suggested tracks for the cache plug-in to choose for downloading.
Public propertyWebRequestGets or sets a web request that the media element downloader uses for downloading.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadFromReads 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 methodToString (Inherited from Object.)
Public methodWriteToWrites the request to a Stream object. (Inherited from CacheRequest.)
Top

Silverlight

Supported in: 5

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