ProxyGenerator 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示代理代码生成器。
public ref class ProxyGenerator abstract sealed
public static class ProxyGenerator
type ProxyGenerator = class
Public Class ProxyGenerator
- 继承
-
ProxyGenerator
注解
使用 GetClientProxyScript 方法检索 ECMAScript (JavaScript) 代码,该代码用于生成 Web 服务的代理类、Windows Communication Foundation服务或应用了 WebMethodAttribute 属性的静态页面方法。
方法
| 名称 | 说明 |
|---|---|
| GetClientProxyScript(Type, String, Boolean, ServiceEndpoint) |
使用路径和服务终结点检索指定类型的代理生成代码。 |
| GetClientProxyScript(Type, String, Boolean) |
检索指定类型的代理生成代码。 |