/
AxHost+ConnectionPointCookie.xml
173 lines (164 loc) · 9.99 KB
/
AxHost+ConnectionPointCookie.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
<Type Name="AxHost+ConnectionPointCookie" FullName="System.Windows.Forms.AxHost+ConnectionPointCookie">
<TypeSignature Language="C#" Value="public class AxHost.ConnectionPointCookie" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi beforefieldinit AxHost/ConnectionPointCookie extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.AxHost.ConnectionPointCookie" />
<TypeSignature Language="VB.NET" Value="Public Class AxHost.ConnectionPointCookie" />
<TypeSignature Language="F#" Value="type AxHost.ConnectionPointCookie = class" />
<TypeSignature Language="C++ CLI" Value="public: ref class AxHost::ConnectionPointCookie" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(false)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(false)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(0)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Connects an ActiveX control to a client that handles the control's events.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
ActiveX controls communicate with clients through their COM interface. The <xref:System.Windows.Forms.AxHost.ConnectionPointCookie> class provides the link between the <xref:System.Windows.Forms.AxHost> class and the ActiveX control.
]]></format>
</remarks>
<forInternalUseOnly />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ConnectionPointCookie (object source, object sink, Type eventInterface);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object source, object sink, class System.Type eventInterface) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.AxHost.ConnectionPointCookie.#ctor(System.Object,System.Object,System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (source As Object, sink As Object, eventInterface As Type)" />
<MemberSignature Language="F#" Value="new System.Windows.Forms.AxHost.ConnectionPointCookie : obj * obj * Type -> System.Windows.Forms.AxHost.ConnectionPointCookie" Usage="new System.Windows.Forms.AxHost.ConnectionPointCookie (source, sink, eventInterface)" />
<MemberSignature Language="C++ CLI" Value="public:
 ConnectionPointCookie(System::Object ^ source, System::Object ^ sink, Type ^ eventInterface);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.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>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="source" Type="System.Object" />
<Parameter Name="sink" Type="System.Object" />
<Parameter Name="eventInterface" Type="System.Type" />
</Parameters>
<Docs>
<param name="source">A connectable object that contains connection points.</param>
<param name="sink">The client's sink which receives outgoing calls from the connection point.</param>
<param name="eventInterface">The outgoing interface whose connection point object is being requested.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.AxHost.ConnectionPointCookie" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.AxHost.ConnectionPointCookie.%23ctor%2A> constructor establishes a connection between the ActiveX control and the client.
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="source" /> does not implement <paramref name="eventInterface" />.</exception>
<exception cref="T:System.InvalidCastException">
<paramref name="sink" /> does not implement <paramref name="eventInterface" />.
-or-
<paramref name="source" /> does not implement <see cref="T:System.Runtime.InteropServices.ComTypes.IConnectionPointContainer" />.</exception>
<exception cref="T:System.InvalidOperationException">The connection point has already reached its limit of connections and cannot accept any more.</exception>
<forInternalUseOnly />
</Docs>
</Member>
<Member MemberName="Disconnect">
<MemberSignature Language="C#" Value="public void Disconnect ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Disconnect() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.AxHost.ConnectionPointCookie.Disconnect" />
<MemberSignature Language="VB.NET" Value="Public Sub Disconnect ()" />
<MemberSignature Language="F#" Value="member this.Disconnect : unit -> unit" Usage="connectionPointCookie.Disconnect " />
<MemberSignature Language="C++ CLI" Value="public:
 void Disconnect();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Disconnects the ActiveX control from the client.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~ConnectionPointCookie ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.AxHost.ConnectionPointCookie.Finalize" />
<MemberSignature Language="VB.NET" Value="Finalize ()" />
<MemberSignature Language="F#" Value="override this.Finalize : unit -> unit" Usage="connectionPointCookie.Finalize " />
<MemberSignature Language="C++ CLI" Value="!ConnectionPointCookie ()" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Releases the unmanaged resources used by the <see cref="T:System.Windows.Forms.AxHost.ConnectionPointCookie" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method overrides <xref:System.Object.Finalize%2A>. Application code should not call this method; an object's `Finalize` method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the <xref:System.GC.SuppressFinalize%2A> method.
For more information, see [Finalize Methods and Destructors](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/0s71x931(v%3dvs.100)), [Cleaning Up Unmanaged Resources](/dotnet/standard/garbage-collection/unmanaged), and [Overriding the Finalize Method](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/ddae83kx(v=vs.100)).
]]></format>
</remarks>
<forInternalUseOnly />
</Docs>
</Member>
</Members>
</Type>