Click or drag to resize

RuntimeClientEvaluateAsync Method

Version 86.0.240

[Missing <summary> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

Namespace:  CefSharp.DevTools.Runtime
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public Task<EvaluateResponse> EvaluateAsync(
	string expression,
	string objectGroup = null,
	Nullable<bool> includeCommandLineAPI = null,
	Nullable<bool> silent = null,
	Nullable<int> contextId = null,
	Nullable<bool> returnByValue = null,
	Nullable<bool> generatePreview = null,
	Nullable<bool> userGesture = null,
	Nullable<bool> awaitPromise = null,
	Nullable<bool> throwOnSideEffect = null,
	Nullable<long> timeout = null,
	Nullable<bool> disableBreaks = null,
	Nullable<bool> replMode = null,
	Nullable<bool> allowUnsafeEvalBlockedByCSP = null
)

Parameters

expression
Type: SystemString

[Missing <param name="expression"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

objectGroup (Optional)
Type: SystemString

[Missing <param name="objectGroup"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

includeCommandLineAPI (Optional)
Type: SystemNullableBoolean

[Missing <param name="includeCommandLineAPI"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

silent (Optional)
Type: SystemNullableBoolean

[Missing <param name="silent"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

contextId (Optional)
Type: SystemNullableInt32

[Missing <param name="contextId"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

returnByValue (Optional)
Type: SystemNullableBoolean

[Missing <param name="returnByValue"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

generatePreview (Optional)
Type: SystemNullableBoolean

[Missing <param name="generatePreview"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

userGesture (Optional)
Type: SystemNullableBoolean

[Missing <param name="userGesture"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

awaitPromise (Optional)
Type: SystemNullableBoolean

[Missing <param name="awaitPromise"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

throwOnSideEffect (Optional)
Type: SystemNullableBoolean

[Missing <param name="throwOnSideEffect"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

timeout (Optional)
Type: SystemNullableInt64

[Missing <param name="timeout"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

disableBreaks (Optional)
Type: SystemNullableBoolean

[Missing <param name="disableBreaks"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

replMode (Optional)
Type: SystemNullableBoolean

[Missing <param name="replMode"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

allowUnsafeEvalBlockedByCSP (Optional)
Type: SystemNullableBoolean

[Missing <param name="allowUnsafeEvalBlockedByCSP"/> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

Return Value

Type: TaskEvaluateResponse

[Missing <returns> documentation for "M:CefSharp.DevTools.Runtime.RuntimeClient.EvaluateAsync(System.String,System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int64},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

See Also