RegistrationConnectionType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the types of connections to a class object.
This enumeration supports a bitwise combination of its member values.
public enum class RegistrationConnectionType
[System.Flags]
public enum RegistrationConnectionType
[<System.Flags>]
type RegistrationConnectionType =
Public Enum RegistrationConnectionType
- Inheritance
- Attributes
Fields
MultipleUse | 1 | Multiple applications can connect to the class object through calls to |
MultiSeparate | 2 | Registers separate CLSCTX_LOCAL_SERVER and CLSCTX_INPROC_SERVER class factories. |
SingleUse | 0 | Once an application is connected to a class object with |
Surrogate | 8 | The class object is a surrogate process used to run DLL servers. |
Suspended | 4 | Suspends registration and activation requests for the specified CLSID until there is a call to |
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om