Export (0) Print
Expand All

CacheResponse Constructor (Int64, String, WebHeaderCollection, Stream, HttpStatusCode, String, DateTime)

Initializes a new instance of the CacheResponse class from the parameters.

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

public CacheResponse(
	long contentLength,
	string contentType,
	WebHeaderCollection headers,
	Stream response,
	HttpStatusCode statusCode,
	string statusDescription,
	DateTime downloadTime
)

Parameters

contentLength
Type: System..::..Int64
A long integer that contains the length of the response in bytes.
contentType
Type: System..::..String
A string object that identifies the content type.
headers
Type: System.Net..::..WebHeaderCollection
A NetWebHeaderCollection.
response
Type: System.IO..::..Stream
A Stream object that contains the response.
statusCode
Type: System.Net..::..HttpStatusCode
An HTTPStatusCode enumeration object.
statusDescription
Type: System..::..String
A string that contains the status description.
downloadTime
Type: System..::..DateTime
A DateTime object.

Silverlight

Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Show:
© 2015 Microsoft