Redigera

Dela via


ServiceReference.GetProxyScript(ScriptManager, Control) Method

Definition

Provides a proxy script from a derived ServiceReference object that can be overridden as a customization.

protected public:
 virtual System::String ^ GetProxyScript(System::Web::UI::ScriptManager ^ scriptManager, System::Web::UI::Control ^ containingControl);
protected internal virtual string GetProxyScript (System.Web.UI.ScriptManager scriptManager, System.Web.UI.Control containingControl);
abstract member GetProxyScript : System.Web.UI.ScriptManager * System.Web.UI.Control -> string
override this.GetProxyScript : System.Web.UI.ScriptManager * System.Web.UI.Control -> string
Protected Friend Overridable Function GetProxyScript (scriptManager As ScriptManager, containingControl As Control) As String

Parameters

scriptManager
ScriptManager

The ScriptManager control on the page.

containingControl
Control

A Control object.

Returns

The proxy script.

Remarks

The containingControl parameter is the ScriptManager object or ScriptManagerProxy object on which the ServiceReference object is defined. It should be used as a basis for relative URL resolution.

Applies to