Name

RegistrationServices

Synopsis

This class is responsible for registering and unregistering assemblies with COM.

Public Class RegistrationServices : Implements IRegistrationServices
' Public Constructors
   Public Sub New() 
' Public Instance Methods
   Overridable Public Function GetManagedCategoryGuid(
        ) As Guid Implements IRegistrationServices.GetManagedCategoryGuid 
   Overridable Public Function GetProgIdForType(
        ByVal type As Type) As String Implements IRegistrationServices.GetProgIdForType 
   Overridable Public Function GetRegistrableTypesInAssembly(
        ByVal assembly As System.Reflection.Assembly) As Type() 
        Implements IRegistrationServices.GetRegistrableTypesInAssembly 
   Overridable Public Function RegisterAssembly(
        ByVal assembly As System.Reflection.Assembly, 
        ByVal flags As AssemblyRegistrationFlags) As Boolean 
        Implements IRegistrationServices.RegisterAssembly 
   Overridable Public Sub RegisterTypeForComClients(
        ByVal type As Type, 
        ByRef g As Guid) Implements IRegistrationServices.RegisterTypeForComClients 
   Overridable Public Function TypeRepresentsComType(
        ByVal type As Type) As Boolean Implements IRegistrationServices.TypeRepresentsComType 
   Overridable Public Function TypeRequiresRegistration(
        ByVal type As Type) As Boolean Implements IRegistrationServices.TypeRequiresRegistration 
   Overridable Public Function UnregisterAssembly(
        ByVal assembly As System.Reflection.Assembly) As Boolean 
        Implements IRegistrationServices.UnregisterAssembly 
End Class

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.