[This is preliminary documentation and is subject to change.]
The CefV8Context type exposes the following members.Methods
Name | Description | |
---|---|---|
Dispose | ||
Enter |
Enter this context. A context must be explicitly entered before creating a
V8 Object, Array, Function or Date asynchronously. Exit() must be called
the same number of times as Enter() before releasing this context. V8
objects belong to the context in which they are created. Returns true if
the scope was entered successfully.
| |
Equals | (Inherited from Object.) | |
Exit |
Exit this context. Call this method only after calling Enter(). Returns
true if the scope was exited successfully.
| |
Finalize | (Overrides Object Finalize .) | |
GetBrowser |
Returns the browser for this context. This method will return an empty
reference for WebWorker contexts.
| |
GetCurrentContext |
Returns the current (top) context object in the V8 context stack.
| |
GetEnteredContext |
Returns the entered (bottom) context object in the V8 context stack.
| |
GetFrame |
Returns the frame for this context. This method will return an empty
reference for WebWorker contexts.
| |
GetGlobal |
Returns the global object for this context. The context must be entered
before calling this method.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetTaskRunner |
Returns the task runner associated with this context. V8 handles can only
be accessed from the thread on which they are created. This method can be
called on any render process thread.
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
IsSame |
Returns true if this object is pointing to the same handle as |that|
object.
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryEval |
Evaluates the specified JavaScript code using this context's global object.
On success |retval| will be set to the return value, if any, and the
function will return true. On failure |exception| will be set to the
exception, if any, and the function will return false.
|
See Also