RegistrationServices Class
Assembly: mscorlib (in mscorlib.dll)
'Declaration <GuidAttribute("475E398F-8AFA-43a7-A3BE-F4EF8D6787C9")> _ <ClassInterfaceAttribute(ClassInterfaceType.None)> _ <ComVisibleAttribute(True)> _ Public Class RegistrationServices Implements IRegistrationServices 'Usage Dim instance As RegistrationServices
/** @attribute GuidAttribute("475E398F-8AFA-43a7-A3BE-F4EF8D6787C9") */
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */
/** @attribute ComVisibleAttribute(true) */
public class RegistrationServices implements IRegistrationServices
GuidAttribute("475E398F-8AFA-43a7-A3BE-F4EF8D6787C9") ClassInterfaceAttribute(ClassInterfaceType.None) ComVisibleAttribute(true) public class RegistrationServices implements IRegistrationServices
Not applicable.
Registration is needed when the objects within an assembly are being used by COM clients. The Assembly Registration Tool (Regasm.exe) and Microsoft Visual Studio 2005 use methods exposed by the RegistrationServices class to add or remove COM-enabling registry entries for managed assemblies.
You can use the following methods to assist you in preparing a registration file:
Although these methods help in gathering information to be used in a registration file, they do not actually produce a registration file. Instead, you can use the Assembly Registration Tool (Regasm.exe) tool with the /regfile option to perform this task. RegistrationServices methods cannot export and register a type library. To export and register a type library, you can use the Assembly Registration Tool (Regasm.exe) tool and the Type Library Exporter (Tlbexp.exe) tool.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.