BundleResponse Class

Encapsulates the response data that will be sent for a bundle request.

Inheritance Hierarchy


Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)


Public Class BundleResponse
Dim instance As BundleResponse
public class BundleResponse
public ref class BundleResponse
type BundleResponse =  class end
public class BundleResponse

The BundleResponse type exposes the following members.


  Name Description
Public method BundleResponse() Initializes a new instance of the BundleResponse class.
Public method BundleResponse(String, IEnumerable<BundleFile>) Initializes a new instance of the BundleResponse class.



  Name Description
Public property Cacheability Gets or sets a value that is used to set the Cache-Control HTTP header.
Public property Content Gets or sets the content of the bundle which is sent as the response body.
Public property ContentType Gets or sets the media type that is sent in the HTTP content/type header.
Public property Files Gets or sets the list of files in the bundle.



  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 ToString (Inherited from Object.)


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


System.Web.Optimization Namespace