ResourceHandlerForErrorMessage Method |
Version 130.1.90
Generates a ResourceHandler that has it's StatusCode set
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static IResourceHandler ForErrorMessage(
string errorMessage,
HttpStatusCode statusCode
)
public:
static IResourceHandler^ ForErrorMessage(
String^ errorMessage,
HttpStatusCode statusCode
)
Parameters
- errorMessage String
- Body the response to be displayed
- statusCode HttpStatusCode
- StatusCode
Return Value
IResourceHandlerResourceHandler
See Also