IExecutionContext.IsInTransaction Property

 

Applies To: Dynamics CRM 2015

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; }
property bool IsInTransaction {
    bool get();
}
abstract IsInTransaction : bool with 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

© 2016 Microsoft. All rights reserved. Copyright