Bewerken

Share via


ScriptResourceDefinition Class

Definition

Defines the location of a script resource.

public ref class ScriptResourceDefinition
public class ScriptResourceDefinition
type ScriptResourceDefinition = class
Public Class ScriptResourceDefinition
Inheritance
ScriptResourceDefinition

Remarks

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).

Constructors

ScriptResourceDefinition()

Initializes a new instance of the ScriptResourceDefinition class.

Properties

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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to