RegistrationServices.UnregisterTypeForComClients(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes references to a type registered with the RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) method.
public:
virtual void UnregisterTypeForComClients(int cookie);
[System.Runtime.InteropServices.ComVisible(false)]
public virtual void UnregisterTypeForComClients (int cookie);
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.SecurityCritical]
public virtual void UnregisterTypeForComClients (int cookie);
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member UnregisterTypeForComClients : int -> unit
override this.UnregisterTypeForComClients : int -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Security.SecurityCritical>]
abstract member UnregisterTypeForComClients : int -> unit
override this.UnregisterTypeForComClients : int -> unit
Public Overridable Sub UnregisterTypeForComClients (cookie As Integer)
Parameters
- cookie
- Int32
The cookie value returned by a previous call to the RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) method overload.
- Attributes
Remarks
Note that using platform invoke to call the unmanaged CoRegisterClassObject
and CoDisconnectObject
methods to register and unregister COM objects is not supported.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про