Export (0) Print
Expand All

ServiceConfig Class

Specifies and configures the services that are to be active in the domain which is entered when calling Enter or creating an Activity. This class cannot be inherited.

System.Object
  System.EnterpriseServices.ServiceConfig

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

[<Sealed>]
[<ComVisibleAttribute(false)>]
type ServiceConfig =  class end

The ServiceConfig type exposes the following members.

  NameDescription
Public methodServiceConfigInitializes a new instance of the ServiceConfig class, setting the properties to configure the desired services.
Top

  NameDescription
Public propertyBindingGets or sets the binding option, which indicates whether all work submitted by the activity is to be bound to only one single-threaded apartment (STA).
Public propertyBringYourOwnSystemTransactionGets or sets a Transaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig.
Public propertyBringYourOwnTransactionGets or sets a ITransaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig.
Public propertyCOMTIIntrinsicsEnabledGets or sets a value that indicates whether COM Transaction Integrator (COMTI) intrinsics are enabled.
Public propertyIISIntrinsicsEnabledGets or sets a value that indicates whether Internet Information Services (IIS) intrinsics are enabled.
Public propertyInheritanceGets or sets a value that indicates whether to construct a new context based on the current context or to create a new context based solely on the information in ServiceConfig.
Public propertyIsolationLevelGets or sets the isolation level of the transaction.
Public propertyPartitionIdGets or sets the GUID for the COM+ partition that is to be used.
Public propertyPartitionOptionGets or sets a value that indicates how partitions are used for the enclosed work.
Public propertySxsDirectoryGets or sets the directory for the side-by-side assembly for the enclosed work.
Public propertySxsNameGets or sets the file name of the side-by-side assembly for the enclosed work.
Public propertySxsOptionGets or sets a value that indicates how to configure the side-by-side assembly.
Public propertySynchronizationGets or sets a value in that indicates the type of automatic synchronization requested by the component.
Public propertyThreadPoolGets or sets a value that indicates the thread pool which runs the work submitted by the activity.
Public propertyTipUrlGets or sets the Transaction Internet Protocol (TIP) URL that allows the enclosed code to run in an existing transaction.
Public propertyTrackingAppNameGets or sets a text string that corresponds to the application ID under which tracker information is reported.
Public propertyTrackingComponentNameGets or sets a text string that corresponds to the context name under which tracker information is reported.
Public propertyTrackingEnabledGets or sets a value that indicates whether tracking is enabled.
Public propertyTransactionGets or sets a value that indicates how transactions are used in the enclosed work.
Public propertyTransactionDescriptionGets or sets the name that is used when transaction statistics are displayed.
Public propertyTransactionTimeoutGets or sets the transaction time-out for a new transaction.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Enter and Activity allow you to use the services configured by ServiceConfig with no need to tie those services to a component.

.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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft