API Reference
Class
SandboxPolicy
Describes sandbox constraints for app-server execution.
Inheritance
- Object
- SandboxPolicy
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property CommandExecRequest.SandboxPolicy
- Method SandboxPolicy.Clone
- Property ChatOptions.SandboxPolicy
- Property IntelligenceXClientOptions.DefaultSandboxPolicy
Accepted by parameters 3
Constructors
SandboxPolicy 2 overloads
public SandboxPolicy(String type, Boolean? networkAccess = null, IReadOnlyList<String>? writableRoots = null) #Initializes a sandbox policy using a boolean network access flag.
Parameters
- type System.String
- Sandbox type identifier.
- networkAccess System.Boolean? = null
- Whether network access is allowed.
- writableRoots System.Collections.Generic.IReadOnlyList<System.String>? = null
- Writable root paths.
public SandboxPolicy(String type, String networkAccessMode, IReadOnlyList<String>? writableRoots = null) #Initializes a sandbox policy using a network access mode string.
Parameters
- type System.String
- Sandbox type identifier.
- networkAccessMode System.String
- Network access mode.
- writableRoots System.Collections.Generic.IReadOnlyList<System.String>? = null
- Writable root paths.
Methods
public SandboxPolicy Clone() #Returns:
SandboxPolicyCreates a defensive copy of this policy instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?