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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για