CefMessageRouterBrowserSide Handler OnQuery Method Xilium.CefGlue

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

Executed when a new query is received. |query_id| uniquely identifies the query for the life span of the router. Return true to handle the query or false to propagate the query to other registered handlers, if any. If no handlers return true from this method then the query will be automatically canceled with an error code of -1 delivered to the JavaScript onFailure callback. If this method returns true then a Callback method must be executed either in this method or asynchronously to complete the query.

Namespace: Xilium.CefGlue.Wrapper
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

public virtual bool OnQuery(
	CefBrowser browser,
	CefFrame frame,
	long queryId,
	string request,
	bool persistent,
	CefMessageRouterBrowserSide..::..Callback callback
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

frame
Type: Xilium.CefGlue CefFrame

[Missing <param name="frame"/> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

queryId
Type: OnlineSystem Int64

[Missing <param name="queryId"/> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

request
Type: OnlineSystem String

[Missing <param name="request"/> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

persistent
Type: OnlineSystem Boolean

[Missing <param name="persistent"/> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

callback
Type: Xilium.CefGlue.Wrapper CefMessageRouterBrowserSide Callback

[Missing <param name="callback"/> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

Return Value

Type: OnlineBoolean

[Missing <returns> documentation for "M:Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Handler.OnQuery(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,System.Int64,System.String,System.Boolean,Xilium.CefGlue.Wrapper.CefMessageRouterBrowserSide.Callback)"]

See Also