Click or drag to resize
CfxRemoteCallContext Class

[This is preliminary documentation and is subject to change.]

Enables access to static members and constructors of remote (Cfr*) classes. In the scope of a remote callback event, the executing thread is always in the context of the calling thread in the render process.
Inheritance Hierarchy
SystemObject
  ChromiumCfxRemoteCallContext

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxRemoteCallContext

The CfxRemoteCallContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrentContext
Returns the current context for the calling thread. Throws an exception if the calling thread is not currently in a remote call context.
Public propertyStatic memberIsInContext
True if the calling thread is currently in a remote call context, false otherwise.
Public propertyProcessId
The process id of the remote process.
Public propertyThreadId
Within the scope of a render process callback, the managed thread id of the calling thread in the render process. Zero if the context is not in the scope of a render process callback.
Top
Methods
  NameDescription
Public methodEnter
Enter the context of a remote thread. Calls to Enter()/Exit() must be balanced. Use try/finally constructs to make sure that Exit() is called the same number of times as Enter().
Public methodExit
Exit the context of a remote thread. Throws an exception if the calling thread is not currently in this remote thread context.
Top
See Also