Export (0) Print
Expand All

ScriptManagerDesigner.GetProxyScript Method

Provides a proxy script from a derived ServiceReference object.

Namespace:  System.Web.UI.Design
Assembly:  System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)

public static string GetProxyScript(
	ScriptManager scriptManager,
	ServiceReference serviceReference
)

Parameters

scriptManager
Type: System.Web.UI.ScriptManager

The ScriptManager control on the page.

serviceReference
Type: System.Web.UI.ServiceReference

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

Return Value

Type: System.String
The proxy script.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft