ServiceReference.GetProxyUrl(ScriptManager, Control) Method

Definition

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

protected internal virtual string GetProxyUrl (System.Web.UI.ScriptManager scriptManager, System.Web.UI.Control containingControl);

Parameters

scriptManager
ScriptManager

The ScriptManager control on the page.

containingControl
Control

A Control object.

Returns

A proxy URL.

Remarks

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

Applies to

Produit Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1