PageClientCreateIsolatedWorldAsync Method |
Version 130.1.90
Creates an isolated world for the given frame.
Namespace: CefSharp.DevTools.PageAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<CreateIsolatedWorldResponse> CreateIsolatedWorldAsync(
string frameId,
string worldName = null,
bool? grantUniveralAccess = null
)
public:
Task<CreateIsolatedWorldResponse^>^ CreateIsolatedWorldAsync(
String^ frameId,
String^ worldName = nullptr,
Nullable<bool> grantUniveralAccess = nullptr
)
Parameters
- frameId String
- Id of the frame in which the isolated world should be created.
- worldName String (Optional)
- An optional name which is reported in the Execution Context.
- grantUniveralAccess NullableBoolean (Optional)
- Whether or not universal access should be granted to the isolated world. This is a powerfuloption, use with caution.
Return Value
TaskCreateIsolatedWorldResponsereturns System.Threading.Tasks.Task<CreateIsolatedWorldResponse>
See Also