IExecutionContext.Mode Property

 

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

Gets the mode of plug-in execution.

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

Syntax

int Mode { get; }
ReadOnly Property Mode As Integer

Property Value

Type: System.Int32

Type: Int32
The mode of plug-in execution.

Remarks

Allowable values are defined in the SdkMessageProcessingStepMode enumeration defined in SampleCode\CS\HelperCode\OptionSets.cs and SampleCode\VB\HelperCode\OptionSets.vb of the SDK download.

See Also

IExecutionContext Interface
Microsoft.Xrm.Sdk Namespace
Event execution pipeline

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright