Share via


IExecutionContext.IsolationMode 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 in the sandbox.

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

Syntax

int IsolationMode { get; }
ReadOnly Property IsolationMode As Integer

Property Value

Type: System.Int32

Type: Int32
Indicates if the plug-in is executing in the sandbox.

Remarks

Allowable values are defined in the PluginAssemblyIsolationMode 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
Plug-in isolation, trusts, and statistics

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright