AxHost.ConnectionPointCookie Class

Definition

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
[System.Runtime.InteropServices.ComVisible(false)]
public class AxHost.ConnectionPointCookie
type AxHost.ConnectionPointCookie = class
Public Class AxHost.ConnectionPointCookie
Inheritance
AxHost.ConnectionPointCookie
Attributes

Remarks

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 https://msdn.microsoft.com/library.

Constructors

AxHost.ConnectionPointCookie(Object, Object, Type)

Initializes a new instance of the AxHost.ConnectionPointCookie class.

Methods

Disconnect()

Disconnects the ActiveX control from the client.

Equals(Object)

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

(Inherited from Object)
Finalize()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to