-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ProxyGenerator.xml
129 lines (123 loc) · 10.4 KB
/
ProxyGenerator.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<Type Name="ProxyGenerator" FullName="System.Web.Script.Services.ProxyGenerator">
<TypeSignature Language="C#" Value="public static class ProxyGenerator" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ProxyGenerator extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Web.Script.Services.ProxyGenerator" />
<TypeSignature Language="VB.NET" Value="Public Class ProxyGenerator" />
<TypeSignature Language="F#" Value="type ProxyGenerator = class" />
<TypeSignature Language="C++ CLI" Value="public ref class ProxyGenerator abstract sealed" />
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a proxy code generator.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.Script.Services.ProxyGenerator.GetClientProxyScript%2A> method to retrieve the ECMAScript (JavaScript) code that is used to generate the proxy class for a Web service, for a Windows Communication Foundation service, or for static page methods that have the <xref:System.Web.Services.WebMethodAttribute> attribute applied.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/8290e543-7eff-47a4-aace-681f3c07229b">Web Services in ASP.NET AJAX</related>
</Docs>
<Members>
<MemberGroup MemberName="GetClientProxyScript">
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Retrieves the proxy generation code for the specified type.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetClientProxyScript">
<MemberSignature Language="C#" Value="public static string GetClientProxyScript (Type type, string path, bool debug);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetClientProxyScript(class System.Type type, string path, bool debug) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Script.Services.ProxyGenerator.GetClientProxyScript(System.Type,System.String,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetClientProxyScript (type As Type, path As String, debug As Boolean) As String" />
<MemberSignature Language="F#" Value="static member GetClientProxyScript : Type * string * bool -> string" Usage="System.Web.Script.Services.ProxyGenerator.GetClientProxyScript (type, path, debug)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ GetClientProxyScript(Type ^ type, System::String ^ path, bool debug);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="type" Type="System.Type" />
<Parameter Name="path" Type="System.String" />
<Parameter Name="debug" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="type">The type of the object to obtain the script for.</param>
<param name="path">The location of the endpoint.</param>
<param name="debug">
<see langword="true" /> to include XML code comments; otherwise, <see langword="false" />.</param>
<summary>Retrieves the proxy generation code for the specified type.</summary>
<returns>The proxy generation code.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Script.Services.ProxyGenerator.GetClientProxyScript%2A> method returns the proxy-generation ECMAScript (JavaScript) for a Web service, for a Windows Communication Foundation (WCF) service, or for static page methods that have the <xref:System.Web.Services.WebMethodAttribute> attribute applied. The `type` parameter contains the type of the Web service class, WCF service class, or ASP.NET page class. When the type is a WCF service class or interface, the class or interface must have the <xref:System.ServiceModel.ServiceContractAttribute> attribute applied. If the `debug` parameter is `true`, the resulting code contains XML code comments that can be used for IntelliSense support in Visual Studio or other development environments. As a result, the size of the generated script is larger.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="type" /> or <paramref name="path" /> parameter is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The specified type is not supported for proxy generation.</exception>
<altmember cref="T:System.ServiceModel.ServiceContractAttribute" />
</Docs>
</Member>
<Member MemberName="GetClientProxyScript">
<MemberSignature Language="C#" Value="public static string GetClientProxyScript (Type type, string path, bool debug, System.ServiceModel.Description.ServiceEndpoint serviceEndpoint);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetClientProxyScript(class System.Type type, string path, bool debug, class System.ServiceModel.Description.ServiceEndpoint serviceEndpoint) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Script.Services.ProxyGenerator.GetClientProxyScript(System.Type,System.String,System.Boolean,System.ServiceModel.Description.ServiceEndpoint)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetClientProxyScript (type As Type, path As String, debug As Boolean, serviceEndpoint As ServiceEndpoint) As String" />
<MemberSignature Language="F#" Value="static member GetClientProxyScript : Type * string * bool * System.ServiceModel.Description.ServiceEndpoint -> string" Usage="System.Web.Script.Services.ProxyGenerator.GetClientProxyScript (type, path, debug, serviceEndpoint)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ GetClientProxyScript(Type ^ type, System::String ^ path, bool debug, System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="type" Type="System.Type" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<Parameter Name="path" Type="System.String" Index="1" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<Parameter Name="debug" Type="System.Boolean" Index="2" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<Parameter Name="serviceEndpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="3" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
</Parameters>
<Docs>
<param name="type">The type of the object to obtain the script for.</param>
<param name="path">The location of the endpoint.</param>
<param name="debug">
<see langword="true" /> to include XML code comments; otherwise, <see langword="false" />.</param>
<param name="serviceEndpoint">The service endpoint.</param>
<summary>Retrieves the proxy generation code for the specified type using the path and service end point.</summary>
<returns>The proxy generation code.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Script.Services.ProxyGenerator.GetClientProxyScript%2A> method returns the proxy-generation ECMAScript (JavaScript) for a Web service, for a Windows Communication Foundation (WCF) service, or for static page methods that have the <xref:System.Web.Services.WebMethodAttribute> attribute applied. The `type` parameter contains the type of the Web service class, WCF service class, or ASP.NET page class. When the type is a WCF service class or interface, the class or interface must have the <xref:System.ServiceModel.ServiceContractAttribute> attribute applied. If the `debug` parameter is `true`, the resulting code contains XML code comments that can be used for IntelliSense support in Visual Studio or other development environments. As a result, the size of the generated script is larger.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="type" /> or <paramref name="path" /> parameter is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The specified type is not supported for proxy generation.</exception>
<altmember cref="T:System.ServiceModel.ServiceContractAttribute" />
</Docs>
</Member>
</Members>
</Type>