RegistrationServices.UnregisterTypeForComClients(Int32) 方法

定义

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)

参数

cookie
Int32

RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) 方法重载的先前调用所返回的 Cookie 值。The cookie value returned by a previous call to the RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) method overload.

属性

注解

请注意,不支持使用平台调用来调用非托管的 CoRegisterClassObjectCoDisconnectObject 方法来注册和取消注册 COM 对象。Note that using platform invoke to call the unmanaged CoRegisterClassObject and CoDisconnectObject methods to register and unregister COM objects is not supported.

适用于