CSC_SxsConfig enumeration (comsvcs.h)

Indicates how side-by-side assemblies are configured for CServiceConfig.

Syntax

typedef enum tagCSC_SxsConfig {
  CSC_NoSxs = 0,
  CSC_InheritSxs,
  CSC_NewSxs
} CSC_SxsConfig;

Constants

 
CSC_NoSxs
Value: 0
Side-by-side assemblies are not used within the enclosed context. This is the default setting for CServiceConfig when CSC_InheritanceConfig is set to CSC_Ignore.
CSC_InheritSxs
The current side-by-side assembly of the enclosed context is used. This is the default setting for CServiceConfig when CSC_InheritanceConfig is set to CSC_Inherit.
CSC_NewSxs
A new side-by-side assembly is created for the enclosed context.

Remarks

This enumeration is used to configure side-by-side assemblies through CServiceConfig for either the work submitted through the activity created by CoCreateActivity or the work that is enclosed between calls to CoEnterServiceDomain and CoLeaveServiceDomain.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header comsvcs.h

See also

CServiceConfig

CoCreateActivity

CoEnterServiceDomain

IServiceSxSConfig::SxSConfig

Isolated Applications and Side-by-side Assemblies