ScriptManagerDesigner.GetProxyScript(ScriptManager, ServiceReference) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.