Επεξεργασία

Κοινή χρήση μέσω


ServiceReference.GetProxyUrl(ScriptManager, Control) Method

Definition

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

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

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