-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ns-System.AddIn.Contract.Automation.xml
20 lines (16 loc) · 2.23 KB
/
ns-System.AddIn.Contract.Automation.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Namespace Name="System.AddIn.Contract.Automation">
<Docs>
<summary>Contains interfaces that components use to access type information and invoke type members.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the interfaces in the <xref:System.AddIn.Contract.Automation?displayProperty=nameWithType> namespace to enable components to access type information for a remote object without having direct access to the <xref:System.Type> of the remote object. The <xref:System.AddIn.Contract.Automation?displayProperty=nameWithType> namespace defines reflection functionality for components that use the interfaces and structures in the <xref:System.AddIn.Contract?displayProperty=nameWithType>, <xref:System.AddIn.Contract.Automation?displayProperty=nameWithType>, and <xref:System.AddIn.Contract.Collections?displayProperty=nameWithType> namespaces to communicate. The interfaces in these namespaces are also called contracts. All contracts derive from the <xref:System.AddIn.Contract.IContract> interface.
When using contracts to manage the communication between components, you must implement the <xref:System.AddIn.Contract.Automation.IRemoteObjectContract> interface in a type to expose the type information to other components. Components can then access the members of the type by calling the <xref:System.AddIn.Contract.Automation.IRemoteObjectContract.GetRemoteType%2A> method of the interface to get an <xref:System.AddIn.Contract.Automation.IRemoteTypeContract>. The other interfaces and structures in the <xref:System.AddIn.Contract.Automation?displayProperty=nameWithType> namespace provide access to type information for delegates, properties, methods, events, and fields.
Components can use the contracts in the <xref:System.AddIn.Contract.Automation?displayProperty=nameWithType> namespace to access type information for an object that is in a different process or application domain, or in the same process or application domain.
]]></format>
</remarks>
<altmember cref="N:System.AddIn.Contract" />
<altmember cref="N:System.AddIn.Contract.Collections" />
<related type="Article" href="/previous-versions/dotnet/netframework-4.0/bb384200(v=vs.100)">Add-ins and Extensibility</related>
</Docs>
</Namespace>