Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides an extension of the CacheResponse class that enables creation of a CacheResponse object that is based on a specified stream or is fully finalized and ready for use.
Inheritance Hierarchy
System.Object
Microsoft.Web.Media.SmoothStreaming.CacheResponse
Microsoft.Web.Media.SmoothStreaming.CacheResponse2
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Class CacheResponse2 _
Inherits CacheResponse
'Usage
Dim instance As CacheResponse2
public class CacheResponse2 : CacheResponse
public ref class CacheResponse2 : public CacheResponse
type CacheResponse2 =
class
inherit CacheResponse
end
public class CacheResponse2 extends CacheResponse
The CacheResponse2 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
CacheResponse2(Stream, Boolean) | Initializes a new instance of the CacheResponse2 class based on the specified stream. |
![]() |
CacheResponse2(Int64, String, WebHeaderCollection, Stream, HttpStatusCode, String, DateTime, Boolean) | Initializes a new instance of the CacheResponse2 class that is fully finalized and ready for use. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ContentLength | The length in bytes. (Inherited from CacheResponse.) |
![]() |
ContentType | A string object that identifies the content type. (Inherited from CacheResponse.) |
![]() |
ContinueProcessing | Gets a Boolean value indicating whether cache response processing continues to the next cache module (including HTTP download) in case of a cache miss. (Inherited from CacheResponse.) |
![]() |
ExpiryTime | A DateTime object that contains the time of response expiration. (Inherited from CacheResponse.) |
![]() |
Headers | Gets a metadata collection of responses. (Inherited from CacheResponse.) |
![]() |
PerceivedBandwidth | Gets or sets the perceived bandwidth while downloading individual media chunks. |
![]() |
Response | A Stream object that contains the response. (Inherited from CacheResponse.) |
![]() |
StatusCode | An System.Net.HTTPStatusCode enumeration object. (Inherited from CacheResponse.) |
![]() |
StatusDescription | A string that contains the status description. (Inherited from CacheResponse.) |
![]() |
UsedTrack | Gets or sets the track the cache plug-in uses for downloading a media chunk. |
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 response 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 CacheResponse.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
WriteTo | Writes the response to a Stream object. (Inherited from CacheResponse.) |
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.