RequestContextDidLoadExtension Method |
Version 75.1.140
Returns true if this context was used to load the extension identified by extensionId. Other contexts sharing the same storage will also have access to the extension (see HasExtension).
This method must be called on the CEF UI thread.
Namespace:
CefSharp
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 75.1.140.0
Syntax public virtual bool DidLoadExtension(
string extensionId
)
public:
virtual bool DidLoadExtension(
String^ extensionId
)
Parameters
- extensionId
- Type: SystemString
[Missing <param name="extensionId"/> documentation for "M:CefSharp.RequestContext.DidLoadExtension(System.String)"]
Return Value
Type:
BooleanReturns true if this context was used to load the extension identified by extensionId
Implements
IRequestContextDidLoadExtension(String)Remarks Use Cef.UIThreadTaskFactory to execute this method if required,
[!:IBrowserProcessHandler.OnContextInitialized] and ChromiumWebBrowser.IsBrowserInitializedChanged are both
executed on the CEF UI thread, so can be called directly.
When CefSettings.MultiThreadedMessageLoop == false (the default is true) then the main
application thread will be the CEF UI thread.
See Also