-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IRemoteDelegateContract.xml
62 lines (59 loc) · 4.64 KB
/
IRemoteDelegateContract.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
<Type Name="IRemoteDelegateContract" FullName="System.AddIn.Contract.Automation.IRemoteDelegateContract">
<TypeSignature Language="C#" Value="public interface IRemoteDelegateContract : System.AddIn.Contract.Automation.IRemoteObjectContract" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IRemoteDelegateContract implements class System.AddIn.Contract.Automation.IRemoteObjectContract, class System.AddIn.Contract.IContract" />
<TypeSignature Language="DocId" Value="T:System.AddIn.Contract.Automation.IRemoteDelegateContract" />
<TypeSignature Language="VB.NET" Value="Public Interface IRemoteDelegateContract
Implements IRemoteObjectContract" />
<TypeSignature Language="F#" Value="type IRemoteDelegateContract = interface
 interface IRemoteObjectContract
 interface IContract" />
<TypeSignature Language="C++ CLI" Value="public interface class IRemoteDelegateContract : System::AddIn::Contract::Automation::IRemoteObjectContract" />
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.AddIn.Contract.Automation.IRemoteObjectContract</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.AddIn.Contract.IContract</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Defines a contract that components can use to access a delegate across application domain and process boundaries.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To invoke a delegate, use the <xref:System.AddIn.Contract.Automation.IRemoteDelegateContract.InvokeDelegate%2A> method.
To add a delegate to an event or remove a delegate from an event, call the <xref:System.AddIn.Contract.Automation.IRemoteMethodInfoContract.Invoke%2A> method of the <xref:System.AddIn.Contract.Automation.IRemoteMethodInfoContract> that is returned by <xref:System.AddIn.Contract.Automation.IRemoteEventInfoContract.GetAddMethod%2A> or <xref:System.AddIn.Contract.Automation.IRemoteEventInfoContract.GetRemoveMethod%2A>. Pass an <xref:System.AddIn.Contract.Automation.IRemoteDelegateContract> that represents the delegate to the `parameters` parameter of <xref:System.AddIn.Contract.Automation.IRemoteMethodInfoContract.Invoke%2A>.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="InvokeDelegate">
<MemberSignature Language="C#" Value="public System.AddIn.Contract.RemoteArgument InvokeDelegate (System.AddIn.Contract.Collections.IRemoteArgumentArrayContract args);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.AddIn.Contract.RemoteArgument InvokeDelegate(class System.AddIn.Contract.Collections.IRemoteArgumentArrayContract args) cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Automation.IRemoteDelegateContract.InvokeDelegate(System.AddIn.Contract.Collections.IRemoteArgumentArrayContract)" />
<MemberSignature Language="VB.NET" Value="Public Function InvokeDelegate (args As IRemoteArgumentArrayContract) As RemoteArgument" />
<MemberSignature Language="F#" Value="abstract member InvokeDelegate : System.AddIn.Contract.Collections.IRemoteArgumentArrayContract -> System.AddIn.Contract.RemoteArgument" Usage="iRemoteDelegateContract.InvokeDelegate args" />
<MemberSignature Language="C++ CLI" Value="public:
 System::AddIn::Contract::RemoteArgument InvokeDelegate(System::AddIn::Contract::Collections::IRemoteArgumentArrayContract ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.AddIn.Contract.RemoteArgument</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="args" Type="System.AddIn.Contract.Collections.IRemoteArgumentArrayContract" />
</Parameters>
<Docs>
<param name="args">An <see cref="T:System.AddIn.Contract.Collections.IRemoteArgumentArrayContract" /> that specifies the delegate parameters.</param>
<summary>Invokes the delegate that this <see cref="T:System.AddIn.Contract.Automation.IRemoteDelegateContract" /> identifies.</summary>
<returns>A <see cref="T:System.AddIn.Contract.RemoteArgument" /> that specifies the return value of the invoked delegate.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>