AxHost.ConnectionPointCookie AxHost.ConnectionPointCookie AxHost.ConnectionPointCookie AxHost.ConnectionPointCookie Class


Connects an ActiveX control to a client that handles the control's events.

This API supports the product infrastructure and is not intended to be used directly from your code.

public: ref class AxHost::ConnectionPointCookie
public class AxHost.ConnectionPointCookie
type AxHost.ConnectionPointCookie = class
Public Class AxHost.ConnectionPointCookie


ActiveX controls communicate with clients through their COM interface. The AxHost.ConnectionPointCookie class provides the link between the AxHost class and the ActiveX control.

For more information, see "Events in COM and Connectable Objects" in the MSDN library at


AxHost.ConnectionPointCookie(Object, Object, Type) AxHost.ConnectionPointCookie(Object, Object, Type) AxHost.ConnectionPointCookie(Object, Object, Type) AxHost.ConnectionPointCookie(Object, Object, Type)

Initializes a new instance of the AxHost.ConnectionPointCookie class.


Disconnect() Disconnect() Disconnect() Disconnect()

Disconnects the ActiveX control from the client.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Releases the unmanaged resources used by the AxHost.ConnectionPointCookie class.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to