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