Udostępnij za pośrednictwem


IExecutionContext.IsInTransaction Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets a value indicating if the plug-in is executing within the database transaction.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

bool IsInTransaction { get; }
ReadOnly Property IsInTransaction As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true if the plug-in is executing within the database transaction; otherwise, false.

See Also

IExecutionContext Interface
Microsoft.Xrm.Sdk Namespace
Event execution pipeline

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright