ScriptManagerDesigner.GetProxyUrl(ScriptManager, ServiceReference) Method

Definition

Provides a proxy URL from a derived ServiceReference object.

public:
 static System::String ^ GetProxyUrl(System::Web::UI::ScriptManager ^ scriptManager, System::Web::UI::ServiceReference ^ serviceReference);
public static string GetProxyUrl (System.Web.UI.ScriptManager scriptManager, System.Web.UI.ServiceReference serviceReference);
static member GetProxyUrl : System.Web.UI.ScriptManager * System.Web.UI.ServiceReference -> string
Public Shared Function GetProxyUrl (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

A proxy URL.

Applies to