RemoteExecutionContext.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

[DataMemberAttribute]
public bool IsInTransaction { get; set; }
public:
[DataMemberAttribute]
property bool IsInTransaction {
    virtual bool get() sealed;
    virtual void set(bool value) sealed;
}
[<DataMemberAttribute>]
abstract IsInTransaction : bool with get, set
[<DataMemberAttribute>]
override IsInTransaction : bool with get, set
<DataMemberAttribute>
Public Property IsInTransaction As Boolean

Property Value

Type: System.Boolean

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

Implements

IExecutionContext.IsInTransaction

See Also

RemoteExecutionContext Class
Microsoft.Xrm.Sdk Namespace
Event execution pipeline

Return to top

© 2016 Microsoft. All rights reserved. Copyright