AxHost::ConnectionPointCookie Class

 

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

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

System::Object
  System.Windows.Forms::AxHost::ConnectionPointCookie

[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
public ref class ConnectionPointCookie 

NameDescription
System_CAPS_pubmethodAxHost::ConnectionPointCookie(Object^, Object^, Type^)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the AxHost::ConnectionPointCookie class.

NameDescription
System_CAPS_pubmethodDisconnect()

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

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

This API supports the product infrastructure and is not intended to be used directly from your code. Releases the unmanaged resources used by the AxHost::ConnectionPointCookie class.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: