-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IMethodCallMessage.xml
202 lines (189 loc) · 13.1 KB
/
IMethodCallMessage.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<Type Name="IMethodCallMessage" FullName="System.Runtime.Remoting.Messaging.IMethodCallMessage">
<TypeSignature Language="C#" Value="public interface IMethodCallMessage : System.Runtime.Remoting.Messaging.IMethodMessage" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IMethodCallMessage implements class System.Runtime.Remoting.Messaging.IMessage, class System.Runtime.Remoting.Messaging.IMethodMessage" />
<TypeSignature Language="DocId" Value="T:System.Runtime.Remoting.Messaging.IMethodCallMessage" />
<TypeSignature Language="VB.NET" Value="Public Interface IMethodCallMessage
Implements IMethodMessage" />
<TypeSignature Language="F#" Value="type IMethodCallMessage = interface
 interface IMethodMessage
 interface IMessage" />
<TypeSignature Language="C++ CLI" Value="public interface class IMethodCallMessage : System::Runtime::Remoting::Messaging::IMethodMessage" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Runtime.Remoting.Messaging.IMessage</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Runtime.Remoting.Messaging.IMethodMessage</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;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">
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(true)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Defines the method call message interface.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An <xref:System.Runtime.Remoting.Messaging.IMethodCallMessage> is generated as a result of a method called on a remote object, and is used to transport details about the remote method call to the server side.
## Examples
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/CPP/imethodcallmessage.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb" id="Snippet1":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="GetInArg">
<MemberSignature Language="C#" Value="public object GetInArg (int argNum);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetInArg(int32 argNum) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Remoting.Messaging.IMethodCallMessage.GetInArg(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Function GetInArg (argNum As Integer) As Object" />
<MemberSignature Language="F#" Value="abstract member GetInArg : int -> obj" Usage="iMethodCallMessage.GetInArg argNum" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ GetInArg(int argNum);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute 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">
<AttributeName Language="C#">[System.Security.SecurityCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecurityCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="argNum" Type="System.Int32" />
</Parameters>
<Docs>
<param name="argNum">The number of the requested <see langword="in" /> argument.</param>
<summary>Returns the specified argument that is not marked as an <see langword="out" /> parameter.</summary>
<returns>The requested argument that is not marked as an <see langword="out" /> parameter.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
</Docs>
</Member>
<Member MemberName="GetInArgName">
<MemberSignature Language="C#" Value="public string GetInArgName (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetInArgName(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Remoting.Messaging.IMethodCallMessage.GetInArgName(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Function GetInArgName (index As Integer) As String" />
<MemberSignature Language="F#" Value="abstract member GetInArgName : int -> string" Usage="iMethodCallMessage.GetInArgName index" />
<MemberSignature Language="C++ CLI" Value="public:
 System::String ^ GetInArgName(int index);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute 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">
<AttributeName Language="C#">[System.Security.SecurityCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecurityCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The number of the requested <see langword="in" /> argument.</param>
<summary>Returns the name of the specified argument that is not marked as an <see langword="out" /> parameter.</summary>
<returns>The name of a specific argument that is not marked as an <see langword="out" /> parameter.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
</Docs>
</Member>
<Member MemberName="InArgCount">
<MemberSignature Language="C#" Value="public int InArgCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 InArgCount" />
<MemberSignature Language="DocId" Value="P:System.Runtime.Remoting.Messaging.IMethodCallMessage.InArgCount" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property InArgCount As Integer" />
<MemberSignature Language="F#" Value="member this.InArgCount : int" Usage="System.Runtime.Remoting.Messaging.IMethodCallMessage.InArgCount" />
<MemberSignature Language="C++ CLI" Value="public:
 property int InArgCount { int get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute 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">
<AttributeName Language="C#">[get: System.Security.SecurityCritical]</AttributeName>
<AttributeName Language="F#">[<get: System.Security.SecurityCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the number of arguments in the call that are not marked as <see langword="out" /> parameters.</summary>
<value>The number of arguments in the call that are not marked as <see langword="out" /> parameters.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example code shows a custom proxy that overrides RealProxy.Invoke in order to write the call message information to the console.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/CPP/imethodcallmessage.cpp" id="Snippet2":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.cs" id="Snippet2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb" id="Snippet2":::
]]></format>
</remarks>
<exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
</Docs>
</Member>
<Member MemberName="InArgs">
<MemberSignature Language="C#" Value="public object[] InArgs { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance object[] InArgs" />
<MemberSignature Language="DocId" Value="P:System.Runtime.Remoting.Messaging.IMethodCallMessage.InArgs" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property InArgs As Object()" />
<MemberSignature Language="F#" Value="member this.InArgs : obj[]" Usage="System.Runtime.Remoting.Messaging.IMethodCallMessage.InArgs" />
<MemberSignature Language="C++ CLI" Value="public:
 property cli::array <System::Object ^> ^ InArgs { cli::array <System::Object ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute 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">
<AttributeName Language="C#">[get: System.Security.SecurityCritical]</AttributeName>
<AttributeName Language="F#">[<get: System.Security.SecurityCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object[]</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an array of arguments that are not marked as <see langword="out" /> parameters.</summary>
<value>An array of arguments that are not marked as <see langword="out" /> parameters.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Although the <xref:System.Runtime.Remoting.Messaging.IMethodCallMessage.InArgs%2A> property is redundant since the same functionality can be achieved with the <xref:System.Runtime.Remoting.Messaging.IMethodCallMessage.InArgCount%2A> and <xref:System.Runtime.Remoting.Messaging.IMethodCallMessage.GetInArg%2A> methods, there might be performance optimization available if the implementer understands when all the arguments will be retrieved.
## Examples
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/CPP/imethodcallmessage.cpp" id="Snippet2":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.cs" id="Snippet2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb" id="Snippet2":::
]]></format>
</remarks>
<exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
</Docs>
</Member>
</Members>
</Type>