ServiceConfig Constructor

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 ()
public ServiceConfig ()
public function ServiceConfig ()

Exception typeCondition

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

a null reference (Nothing in Visual Basic)

COMTIIntrinsicsEnabled

false

IISIntrinsicsEnabled

false

Inheritance

Inherit

IsolationLevel

Any

PartitionId

A zero GUID.

PartitionOption

Ignore

SxsDirectory

a null reference (Nothing in Visual Basic)

SxsName

a null reference (Nothing in Visual Basic)

SxsOption

Ignore

Synchronization

Disabled

ThreadPool

None

TipUrl

a null reference (Nothing in Visual Basic)

TrackingAppName

a null reference (Nothing in Visual Basic)

TrackingComponentName

a null reference (Nothing in Visual Basic)

TrackingEnabled

false

Transaction

Disabled

TransactionDescription

a null reference (Nothing in Visual Basic)

TransactionTimeout

The system default

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, 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, 1.1

Community Additions

ADD
Show:
© 2016 Microsoft