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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per