ScriptResourceDefinition Class
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Defines the location of a script resource.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Name | Description | |
---|---|---|
![]() | ScriptResourceDefinition() | Initializes a new instance of the ScriptResourceDefinition class. |
Name | Description | |
---|---|---|
![]() | CdnDebugPath | Gets or sets the debug mode path of the script resource on a content delivery network (CDN). |
![]() | CdnPath | Gets or sets the release mode path of a script resource on a content delivery network (CDN). |
![]() | CdnSupportsSecureConnection | Gets or set a value that indicates to the ScriptManager whether a script resource should be accessed using a secure connection to the content delivery network (CDN) path when the page is accessed using HTTPS. |
![]() | DebugPath | Gets or sets the debug mode path of the script resource that is used when debug mode is enabled. |
![]() | LoadSuccessExpression | Gets or sets a JavaScript expression that is used to detect whether a JavaScript file loaded successfully. |
![]() | Path | Gets or set the release mode path of the script resource. |
![]() | ResourceAssembly | Gets or sets an assembly object that contains the script resource. |
![]() | ResourceName | Gets or sets the name of the script resource in the specified resource assembly. |
Name | Description | |
---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
A ScriptResourceDefinition object represents a single logical script resource. This resource might have several different physical representations, such as a debug version, a release version, and a version on a content delivery network (CDN).
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.