ResourceHandlerForErrorMessage Method  | 
Version 104.4.240 
            Generates a ResourceHandler that has it's StatusCode set
            
 
    Namespace: 
   CefSharp
    Assembly:
   CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntaxpublic static IResourceHandler ForErrorMessage(
	string errorMessage,
	HttpStatusCode statusCode
)
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: 
IResourceHandlerResourceHandler
See Also