ProxyGenerator Class

ProxyGenerator Class

.NET Framework (current version)
 

Represents a proxy code generator.

Namespace:   System.Web.Script.Services
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

System.Object
  System.Web.Script.Services.ProxyGenerator

public static class ProxyGenerator

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetClientProxyScript(Type, String, Boolean)

Retrieves the proxy generation code for the specified type.

System_CAPS_pubmethodSystem_CAPS_staticGetClientProxyScript(Type, String, Boolean, ServiceEndpoint)

Retrieves the proxy generation code for the specified type using the path and service end point.

Use the GetClientProxyScript method to retrieve the ECMAScript (JavaScript) code that is used to generate the proxy class for a Web service, for a Windows Communication Foundation (WCF) service, or for static page methods that have the WebMethodAttribute attribute applied.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft