IRegistrationServices Interfejs

Definicja

Udostępnia zestaw usług do rejestrowania i wyrejestrowania zarządzanych zestawów do użycia z modelu COM.

public interface class IRegistrationServices
[System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]
public interface IRegistrationServices
[System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IRegistrationServices
[<System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")>]
type IRegistrationServices = interface
[<System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IRegistrationServices = interface
Public Interface IRegistrationServices
Pochodne
Atrybuty

Uwagi

Rejestracja jest wymagana, gdy obiekty w zestawie są używane przez klientów COM.

Metody

GetManagedCategoryGuid()

Zwraca identyfikator GUID kategorii COM, który zawiera klasy zarządzane.

GetProgIdForType(Type)

Pobiera identyfikator PROGID MODELU COM dla określonego typu.

GetRegistrableTypesInAssembly(Assembly)

Pobiera listę klas w zestawie, które byłyby zarejestrowane przez wywołanie metody RegisterAssembly(Assembly, AssemblyRegistrationFlags).

RegisterAssembly(Assembly, AssemblyRegistrationFlags)

Rejestruje klasy w zarządzanym zestawie, aby umożliwić tworzenie z modelu COM.

RegisterTypeForComClients(Type, Guid)

Rejestruje określony typ w modelu COM przy użyciu określonego identyfikatora GUID.

TypeRepresentsComType(Type)

Określa, czy określony typ jest typem COM.

TypeRequiresRegistration(Type)

Określa, czy określony typ wymaga rejestracji.

UnregisterAssembly(Assembly)

Wyrejestrowuje klasy w zarządzanym zestawie.

Dotyczy