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
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)
Syntax
'Declaration
Public Class CacheRequest2 _
Inherits CacheRequest
'Usage
Dim instance As CacheRequest2
public class CacheRequest2 : CacheRequest
public ref class CacheRequest2 : public CacheRequest
type CacheRequest2 =
class
inherit CacheRequest
end
public class CacheRequest2 extends CacheRequest
The CacheRequest2 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CacheRequest2(Stream) | Initializes a new instance of the CacheRequest2 class based on the specified stream. | |
CacheRequest2(HttpWebRequest, IList<TrackInfo>) | Initializes a new instance of the CacheRequest2 class based on the specified web request and list of selectable tracks. |
Top
Properties
Name | Description | |
---|---|---|
CanonicalUri | The Uri of the request. (Inherited from CacheRequest.) | |
SelectableTracks | Gets a list of suggested tracks for the cache plug-in to choose for downloading. | |
WebRequest | Gets or sets a web request that the media element downloader uses for downloading. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.) | |
ToString | (Inherited from Object.) | |
WriteTo | Writes the request to a Stream object. (Inherited from CacheRequest.) |
Top
Version Information
Silverlight
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.