IRegistrationServices Interface

Definition

Provides a set of services for registering and unregistering managed assemblies for use from 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
Derived
Attributes

Remarks

Registration is needed when the objects within an assembly are being used by COM clients.

Methods

GetManagedCategoryGuid()

Returns the GUID of the COM category that contains the managed classes.

GetProgIdForType(Type)

Retrieves the COM ProgID for a specified type.

GetRegistrableTypesInAssembly(Assembly)

Retrieves a list of classes in an assembly that would be registered by a call to RegisterAssembly(Assembly, AssemblyRegistrationFlags).

RegisterAssembly(Assembly, AssemblyRegistrationFlags)

Registers the classes in a managed assembly to enable creation from COM.

RegisterTypeForComClients(Type, Guid)

Registers the specified type with COM using the specified GUID.

TypeRepresentsComType(Type)

Determines whether the specified type is a COM type.

TypeRequiresRegistration(Type)

Determines whether the specified type requires registration.

UnregisterAssembly(Assembly)

Unregisters the classes in a managed assembly.

Applies to