Click or drag to resize

DOMDebuggerClientSetBreakOnCSPViolationAsync Method

Version 104.4.240
Sets breakpoint on particular CSP violations.

Namespace:  CefSharp.DevTools.DOMDebugger
Assembly:  CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax
public Task<DevToolsMethodResponse> SetBreakOnCSPViolationAsync(
	CSPViolationType[] violationTypes
)

Parameters

violationTypes
Type: CefSharp.DevTools.DOMDebuggerCSPViolationType
CSP Violations to stop upon.

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also