Редактиране

Споделяне чрез


System.EnterpriseServices Namespace

Provides .NET objects with access to COM+ services making the .NET Framework objects more practical for enterprise applications.

Classes

Activity

Creates an activity to do synchronous or asynchronous batch work that can use COM+ services without needing to create a COM+ component. This class cannot be inherited.

ApplicationAccessControlAttribute

Specifies access controls to an assembly containing ServicedComponent classes.

ApplicationActivationAttribute

Specifies whether components in the assembly run in the creator's process or in a system process.

ApplicationIDAttribute

Specifies the application ID (as a GUID) for this assembly. This class cannot be inherited.

ApplicationNameAttribute

Specifies the name of the COM+ application to be used for the install of the components in the assembly. This class cannot be inherited.

ApplicationQueuingAttribute

Enables queuing support for the marked assembly and enables the application to read method calls from Message Queuing queues. This class cannot be inherited.

AutoCompleteAttribute

Marks the attributed method as an AutoComplete object. This class cannot be inherited.

BYOT

Wraps the COM+ ByotServerEx class and the COM+ DTC interfaces ICreateWithTransactionEx and ICreateWithTipTransactionEx. This class cannot be inherited.

ComponentAccessControlAttribute

Enables security checking on calls to a component. This class cannot be inherited.

COMTIIntrinsicsAttribute

Enables you to pass context properties from the COM Transaction Integrator (COMTI) into the COM+ context.

ConstructionEnabledAttribute

Enables COM+ object construction support. This class cannot be inherited.

ContextUtil

Obtains information about the COM+ object context. This class cannot be inherited.

DescriptionAttribute

Sets the description on an assembly (application), component, method, or interface. This class cannot be inherited.

EventClassAttribute

Marks the attributed class as an event class. This class cannot be inherited.

EventTrackingEnabledAttribute

Enables event tracking for a component. This class cannot be inherited.

ExceptionClassAttribute

Sets the queuing exception class for the queued class. This class cannot be inherited.

IISIntrinsicsAttribute

Enables access to ASP intrinsic values from GetNamedProperty(String). This class cannot be inherited.

InterfaceQueuingAttribute

Enables queuing support for the marked interface. This class cannot be inherited.

JustInTimeActivationAttribute

Turns just-in-time (JIT) activation on or off. This class cannot be inherited.

LoadBalancingSupportedAttribute

Determines whether the component participates in load balancing, if the component load balancing service is installed and enabled on the server.

MustRunInClientContextAttribute

Forces the attributed object to be created in the context of the creator, if possible. This class cannot be inherited.

ObjectPoolingAttribute

Enables and configures object pooling for a component. This class cannot be inherited.

PrivateComponentAttribute

Identifies a component as a private component that is only seen and activated by components in the same application. This class cannot be inherited.

RegistrationConfig

Provides configuration information for installing assemblies into the COM+ catalog.

RegistrationErrorInfo

Retrieves extended error information about methods related to multiple COM+ objects. This also includes methods that install, import, and export COM+ applications and components. This class cannot be inherited.

RegistrationException

The exception that is thrown when a registration error is detected.

RegistrationHelper

Installs and configures assemblies in the COM+ catalog. This class cannot be inherited.

RegistrationHelperTx

Used by the .NET Framework infrastructure to install and configure assemblies in the COM+ catalog while maintaining a newly established transaction.

ResourcePool

Stores objects in the current transaction. This class cannot be inherited.

SecureMethodAttribute

Ensures that the infrastructure calls through an interface for a method or for each method in a class when using the security service. Classes need to use interfaces to use security services. This class cannot be inherited.

SecurityCallContext

Describes the chain of callers leading up to the current method call.

SecurityCallers

Provides an ordered collection of identities in the current call chain.

SecurityIdentity

Contains information that regards an identity in a COM+ call chain.

SecurityRoleAttribute

Configures a role for an application or component. This class cannot be inherited.

ServiceConfig

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.

ServicedComponent

Represents the base class of all classes using COM+ services.

ServicedComponentException

The exception that is thrown when an error is detected in a serviced component.

ServiceDomain

Allows a code segment identified by Enter(ServiceConfig) and Leave() to run in its own context and behave as if it were a method that is called on an object created within the context. This class cannot be inherited.

SharedProperty

Accesses a shared property. This class cannot be inherited.

SharedPropertyGroup

Represents a collection of shared properties. This class cannot be inherited.

SharedPropertyGroupManager

Controls access to shared property groups. This class cannot be inherited.

SynchronizationAttribute

Sets the synchronization value of the component. This class cannot be inherited.

TransactionAttribute

Specifies the type of transaction that is available to the attributed object. Permissible values are members of the TransactionOption enumeration.

Structs

BOID

Represents the unit of work associated with a transaction. This structure is used in XACTTRANSINFO.

XACTTRANSINFO

Represents a structure used in the ITransaction interface.

Interfaces

IAsyncErrorNotify

Implements error trapping on the asynchronous batch work that is submitted by the Activity object.

IPlaybackControl

Functions in Queued Components in the abnormal handling of server-side playback errors and client-side failures of the Message Queuing delivery mechanism.

IProcessInitControl

Supports setting the time-out for the Startup(Object) method.

IProcessInitializer

Supports methods that can be called when a COM component starts up or shuts down.

IRegistrationHelper

Installs and configures assemblies in the COM+ catalog.

IRemoteDispatch

Implemented by the ServicedComponent class to determine if the AutoCompleteAttribute class attribute is set to true or false for a remote method invocation.

IServiceCall

Implements the batch work that is submitted through the activity created by Activity.

IServicedComponentInfo

Implemented by the ServicedComponent class to obtain information about the component via the GetComponentInfo(Int32, String[]) method.

ITransaction

Corresponds to the Distributed Transaction Coordinator (DTC) ITransaction interface and is supported by objects obtained through Transaction.

Enums

AccessChecksLevelOption

Specifies the level of access checking for an application, either at the process level only or at all levels, including component, interface, and method levels.

ActivationOption

Specifies the manner in which serviced components are activated in the application.

AuthenticationOption

Specifies the remote procedure call (RPC) authentication mechanism. Applicable only when the ActivationOption is set to Server.

BindingOption

Indicates whether all work submitted by Activity should be bound to only one single-threaded apartment (STA). This enumeration has no impact on the multithreaded apartment (MTA).

ImpersonationLevelOption

Specifies the level of impersonation allowed when calling targets of a server application.

InheritanceOption

Indicates whether to create a new context based on the current context or on the information in ServiceConfig.

InstallationFlags

Flags used with the RegistrationHelper class.

PartitionOption

Indicates the context in which to run the COM+ partition.

PropertyLockMode

Specifies the mode for accessing shared properties in the shared property group manager.

PropertyReleaseMode

Specifies the release mode for the properties in the new shared property group.

SxsOption

Indicates how side-by-side assemblies are configured for ServiceConfig.

SynchronizationOption

Specifies the type of automatic synchronization requested by the component.

ThreadPoolOption

Indicates the thread pool in which the work, submitted by Activity, runs.

TransactionIsolationLevel

Specifies the value of the TransactionAttribute.

TransactionOption

Specifies the automatic transaction type requested by the component.

TransactionStatus

Indicates the transaction status.

TransactionVote

Specifies the values allowed for transaction outcome voting.

Delegates

ResourcePool.TransactionEndDelegate

Represents the method that handles the ending of a transaction.