ServiceReference.GetProxyScript(ScriptManager, Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.