Click or drag to resize

ResourceHandlerForErrorMessage Method

Version 92.0.260
Generates a ResourceHandler that has it's StatusCode set

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.0)
Syntax
public static IResourceHandler ForErrorMessage(
	string errorMessage,
	HttpStatusCode statusCode
)

Parameters

errorMessage
Type: SystemString
Body the response to be displayed
statusCode
Type: System.NetHttpStatusCode
StatusCode

Return Value

Type: IResourceHandler
ResourceHandler
See Also