Export (0) Print
Expand All

ServiceConfig Constructor

Initializes a new instance of the ServiceConfig class, setting the properties to configure the desired services.

Namespace:  System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public ServiceConfig()

ExceptionCondition
PlatformNotSupportedException

ServiceConfig is not supported on the current platform.

The following table shows initial property values for an instance of ServiceConfig.

Item

Description

Binding

NoBinding

BringYourOwnTransaction

null

COMTIIntrinsicsEnabled

false

IISIntrinsicsEnabled

false

Inheritance

Inherit

IsolationLevel

Any

PartitionId

A zero GUID.

PartitionOption

Ignore

SxsDirectory

null

SxsName

null

SxsOption

Ignore

Synchronization

Disabled

ThreadPool

None

TipUrl

null

TrackingAppName

null

TrackingComponentName

null

TrackingEnabled

false

Transaction

Disabled

TransactionDescription

null

TransactionTimeout

The system default

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft