IPluginExecutionContextExtensions.IsWithinMainTransaction Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsWithinMainTransaction(Microsoft::Xrm::Sdk::IPluginExecutionContext ^ context);
public static bool IsWithinMainTransaction (this Microsoft.Xrm.Sdk.IPluginExecutionContext context);
static member IsWithinMainTransaction : Microsoft.Xrm.Sdk.IPluginExecutionContext -> bool
<Extension()>
Public Function IsWithinMainTransaction (context As IPluginExecutionContext) As Boolean

Parameters

Returns

true if the plug-in executes within the main database transaction (stages 20-40) of the Execution Pipeline; otherwise false.

Applies to