ServiceConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies and configures the services that are to be active in the domain which is entered when calling Enter(ServiceConfig) or creating an Activity. This class cannot be inherited.
public ref class ServiceConfig sealed
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class ServiceConfig
[<System.Runtime.InteropServices.ComVisible(false)>]
type ServiceConfig = class
Public NotInheritable Class ServiceConfig
- Inheritance
-
ServiceConfig
- Attributes
Remarks
Enter and Activity allow you to use the services configured by ServiceConfig with no need to tie those services to a component.
Constructors
ServiceConfig() |
Initializes a new instance of the ServiceConfig class, setting the properties to configure the desired services. |
Properties
Binding |
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). |
BringYourOwnSystemTransaction |
Gets or sets a Transaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig. |
BringYourOwnTransaction |
Gets or sets a ITransaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig. |
COMTIIntrinsicsEnabled |
Gets or sets a value that indicates whether COM Transaction Integrator (COMTI) intrinsics are enabled. |
IISIntrinsicsEnabled |
Gets or sets a value that indicates whether Internet Information Services (IIS) intrinsics are enabled. |
Inheritance |
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. |
IsolationLevel |
Gets or sets the isolation level of the transaction. |
PartitionId |
Gets or sets the GUID for the COM+ partition that is to be used. |
PartitionOption |
Gets or sets a value that indicates how partitions are used for the enclosed work. |
SxsDirectory |
Gets or sets the directory for the side-by-side assembly for the enclosed work. |
SxsName |
Gets or sets the file name of the side-by-side assembly for the enclosed work. |
SxsOption |
Gets or sets a value that indicates how to configure the side-by-side assembly. |
Synchronization |
Gets or sets a value in that indicates the type of automatic synchronization requested by the component. |
ThreadPool |
Gets or sets a value that indicates the thread pool which runs the work submitted by the activity. |
TipUrl |
Gets or sets the Transaction Internet Protocol (TIP) URL that allows the enclosed code to run in an existing transaction. |
TrackingAppName |
Gets or sets a text string that corresponds to the application ID under which tracker information is reported. |
TrackingComponentName |
Gets or sets a text string that corresponds to the context name under which tracker information is reported. |
TrackingEnabled |
Gets or sets a value that indicates whether tracking is enabled. |
Transaction |
Gets or sets a value that indicates how transactions are used in the enclosed work. |
TransactionDescription |
Gets or sets the name that is used when transaction statistics are displayed. |
TransactionTimeout |
Gets or sets the transaction time-out for a new transaction. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |