IExecutionContext.IsolationMode Property


Applies To: Dynamics CRM 2015

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)


int IsolationMode { get; }
property int IsolationMode {
    int get();
abstract IsolationMode : int with get
ReadOnly Property IsolationMode As Integer

Property Value

Type: System.Int32

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


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

© 2016 Microsoft. All rights reserved. Copyright