ServiceConfig Class
TOC
Collapse the table of content
Expand the table of content

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.

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

System.Object
  System.EnterpriseServices.ServiceConfig

[ComVisibleAttribute(false)]
public sealed class ServiceConfig

NameDescription
System_CAPS_pubmethodServiceConfig()

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

NameDescription
System_CAPS_pubpropertyBinding

Gets 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).

System_CAPS_pubpropertyBringYourOwnSystemTransaction

Gets or sets a Transaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig.

System_CAPS_pubpropertyBringYourOwnTransaction

Gets or sets a ITransaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig.

System_CAPS_pubpropertyCOMTIIntrinsicsEnabled

Gets or sets a value that indicates whether COM Transaction Integrator (COMTI) intrinsics are enabled.

System_CAPS_pubpropertyIISIntrinsicsEnabled

Gets or sets a value that indicates whether Internet Information Services (IIS) intrinsics are enabled.

System_CAPS_pubpropertyInheritance

Gets 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.

System_CAPS_pubpropertyIsolationLevel

Gets or sets the isolation level of the transaction.

System_CAPS_pubpropertyPartitionId

Gets or sets the GUID for the COM+ partition that is to be used.

System_CAPS_pubpropertyPartitionOption

Gets or sets a value that indicates how partitions are used for the enclosed work.

System_CAPS_pubpropertySxsDirectory

Gets or sets the directory for the side-by-side assembly for the enclosed work.

System_CAPS_pubpropertySxsName

Gets or sets the file name of the side-by-side assembly for the enclosed work.

System_CAPS_pubpropertySxsOption

Gets or sets a value that indicates how to configure the side-by-side assembly.

System_CAPS_pubpropertySynchronization

Gets or sets a value in that indicates the type of automatic synchronization requested by the component.

System_CAPS_pubpropertyThreadPool

Gets or sets a value that indicates the thread pool which runs the work submitted by the activity.

System_CAPS_pubpropertyTipUrl

Gets or sets the Transaction Internet Protocol (TIP) URL that allows the enclosed code to run in an existing transaction.

System_CAPS_pubpropertyTrackingAppName

Gets or sets a text string that corresponds to the application ID under which tracker information is reported.

System_CAPS_pubpropertyTrackingComponentName

Gets or sets a text string that corresponds to the context name under which tracker information is reported.

System_CAPS_pubpropertyTrackingEnabled

Gets or sets a value that indicates whether tracking is enabled.

System_CAPS_pubpropertyTransaction

Gets or sets a value that indicates how transactions are used in the enclosed work.

System_CAPS_pubpropertyTransactionDescription

Gets or sets the name that is used when transaction statistics are displayed.

System_CAPS_pubpropertyTransactionTimeout

Gets or sets the transaction time-out for a new transaction.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 1.1

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

Return to top
Show:
© 2016 Microsoft