O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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);  
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required