IRequestContextRegisterSchemeHandlerFactory Method |
Version 98.1.210
Register a scheme handler factory for the specified schemeName and optional domainName.
An empty domainName value for a standard scheme will cause the factory to match all domain
names. The domainName value will be ignored for non-standard schemes. If schemeName is
a built-in scheme and no handler is returned by factory then the built-in scheme handler
factory will be called. If schemeName is a custom scheme then you must also implement the
CefApp::OnRegisterCustomSchemes() method in all processes. This function may be called multiple
times to change or remove the factory that matches the specified schemeName and optional
domainName.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax bool RegisterSchemeHandlerFactory(
string schemeName,
string domainName,
ISchemeHandlerFactory factory
)
bool RegisterSchemeHandlerFactory(
String^ schemeName,
String^ domainName,
ISchemeHandlerFactory^ factory
)
Parameters
- schemeName
- Type: SystemString
Scheme Name - domainName
- Type: SystemString
Optional domain name - factory
- Type: CefSharpISchemeHandlerFactory
Scheme handler factory
Return Value
Type:
BooleanReturns false if an error occurs.
See Also