Winapi.Mtx

De RAD Studio API Documentation
Aller à : navigation, rechercher


Package rtl280.bpl

Classes

IEnumNames
IGetContextProperties
IObjectContext
IObjectContextActivity
IObjectControl
ISecurityProperty
ISharedProperty
ISharedPropertyGroup
ISharedPropertyGroupManager
ITransactionContext
ITransactionContextEx

Routines

CreateSharedPropertyGroupRenvoie l'interface d'un SharedPropertyGroup qui permet à des objets MTS d'un processus serveur de partager un état.
CreateSharedPropertyGroupManagerRenvoie une interface pour un nouveau gestionnaire de groupe de propriétés partagées qui crée et coordonne les propriétés partagées d'objets MTS.
CreateTransactionContextCommence une transaction MTS.
CreateTransactionContextExInstancie un objet TransactionContextEx, qui marque le début d'une transaction.
GetObjectContextRécupère l'interface IObjectContext du thread courant.
SafeRefRenvoie une référence à un objet transactionnel pour la transmettre hors de son contexte en toute sécurité.

Constantes

CLASS_SharedPropertyGroupManagerCLASS_SharedPropertyGroupManager: TGUID;
CLASS_TransactionContextCLASS_TransactionContext: TGUID;
CLASS_TransactionContextExCLASS_TransactionContextEx: TGUID;
LockMethodLockMethod: Integer = 1;
LockSetGetLockSetGet: Integer = 0;
mtsErrCtxAbortedmtsErrCtxAborted: Integer = $8004E002;
mtsErrCtxAbortingmtsErrCtxAborting: Integer = $8004E003;
mtsErrCtxActivityTimeoutmtsErrCtxActivityTimeout: Integer = $8004E006;
mtsErrCtxNoContextmtsErrCtxNoContext: Integer = $8004E004;
mtsErrCtxNoSecuritymtsErrCtxNoSecurity: Integer = $8004E00D;
mtsErrCtxNotRegisteredmtsErrCtxNotRegistered: Integer = $8004E005;
mtsErrCtxOldReferencemtsErrCtxOldReference: Integer = $8004E007;
mtsErrCtxRoleNotFoundmtsErrCtxRoleNotFound: Integer = $8004E00C;
mtsErrCtxTMNotAvailablemtsErrCtxTMNotAvailable: Integer = $8004E00F;
mtsErrCtxWrongThreadmtsErrCtxWrongThread: Integer = $8004E00E;
ProcessProcess: Integer = 1;
StandardStandard: Integer = 0;