Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

RegistrationConnectionType Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Defines the types of connections to a class object.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)

[FlagsAttribute] 
public enum RegistrationConnectionType
/** @attribute FlagsAttribute() */ 
public enum RegistrationConnectionType
FlagsAttribute 
public enum RegistrationConnectionType
 Member nameDescription
MultipleUseMultiple applications can connect to the class object through calls to CoGetClassObject
MultiSeparateRegisters separate CLSCTX_LOCAL_SERVER and CLSCTX_INPROC_SERVER class factories. 
SingleUseOnce an application is connected to a class object with CoGetClassObject, the class object is removed from public view so that no other applications can connect to it. This value is commonly used for single document interface (SDI) applications. 
SurrogateThe class object is a surrogate process used to run DLL servers. 
SuspendedSuspends registration and activation requests for the specified CLSID until there is a call to CoResumeClassObjects

The values in the RegistrationConnectionType enumeration are used in the flags parameter of the RegisterTypeForComClients method. These values are the same as those defined in the COM REGCLS enumeration, which is used as the flags parameter in calls to the COM API CoRegisterClassObject.

For more information about CoRegisterClassObject and the REGCLS enumeration, see the MSDN library.

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.