Name

RegistrationServices

Synopsis

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

public class RegistrationServices : IRegistrationServices {
// Public Constructors
   public method RegistrationServices();  
// Public Instance Methods
   public virtual method Guid GetManagedCategoryGuid();          // implements IRegistrationServices
   public virtual method string GetProgIdForType(Type type);    // implements IRegistrationServices
   public virtual method Type[] GetRegistrableTypesInAssembly(  // implements IRegistrationServices
        System.Reflection.Assembly assembly);  
   public virtual method bool RegisterAssembly(                 // implements IRegistrationServices
        System.Reflection.Assembly assembly, 
        AssemblyRegistrationFlags flags);  
   public virtual method void RegisterTypeForComClients(        // implements IRegistrationServices
        Type type, ref Guid g);  
   public virtual method bool TypeRepresentsComType(            // implements IRegistrationServices
        Type type);  
   public virtual method bool TypeRequiresRegistration(         // implements IRegistrationServices
        Type type);  
   public virtual method bool UnregisterAssembly(               // implements IRegistrationServices
        System.Reflection.Assembly assembly);  
}

Get C# 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.