Export (0) Print
Expand All

ProxyGenerator Class

Represents a proxy code generator.

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

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

public static class ProxyGenerator

  NameDescription
Public methodStatic memberGetClientProxyScript(Type, String, Boolean)Retrieves the proxy generation code for the specified type.
Public methodStatic memberGetClientProxyScript(Type, String, Boolean, ServiceEndpoint)Retrieves the proxy generation code for the specified type using the path and service end point.
Top

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

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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

Community Additions

ADD
Show:
© 2014 Microsoft