RequestContextHandlerOnInitialize Method |
Version 130.1.90
The
ActionT is executed when the RequestContext has been initialized, after the
preferences/proxy preferences have been set, before OnRequestContextInitialized.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public RequestContextHandler OnInitialize(
Action<IRequestContext> onContextInitialziedAction
)
public:
RequestContextHandler^ OnInitialize(
Action<IRequestContext^>^ onContextInitialziedAction
)
Parameters
- onContextInitialziedAction ActionIRequestContext
- action to perform on context initialize
Return Value
RequestContextHandlerA
RequestContextHandler instance allowing you to chain multiple AddPreference calls together
Remarks Only a single action reference is maintained, multiple calls will result in the
previous action reference being overriden.
See Also