Edit

Share via


ScriptManagerDesigner.GetProxyScript(ScriptManager, ServiceReference) Method

Definition

Provides a proxy script from a derived ServiceReference object.

public:
 static System::String ^ GetProxyScript(System::Web::UI::ScriptManager ^ scriptManager, System::Web::UI::ServiceReference ^ serviceReference);
public static string GetProxyScript (System.Web.UI.ScriptManager scriptManager, System.Web.UI.ServiceReference serviceReference);
static member GetProxyScript : System.Web.UI.ScriptManager * System.Web.UI.ServiceReference -> string
Public Shared Function GetProxyScript (scriptManager As ScriptManager, serviceReference As ServiceReference) As String

Parameters

scriptManager
ScriptManager

The ScriptManager control on the page.

serviceReference
ServiceReference

The ServiceReference control that is used to register a Web service for use in the page.

Returns

The proxy script.

Applies to