FetchClientFailRequestAsync Method |
Version 88.2.90
Causes the request to fail with specified reason.
Namespace:
CefSharp.DevTools.Fetch
Assembly:
CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax public Task<DevToolsMethodResponse> FailRequestAsync(
string requestId,
ErrorReason errorReason
)
public:
Task<DevToolsMethodResponse^>^ FailRequestAsync(
String^ requestId,
ErrorReason errorReason
)
Parameters
- requestId
- Type: SystemString
An id the client received in requestPaused event. - errorReason
- Type: CefSharp.DevTools.NetworkErrorReason
Causes the request to fail with the given reason.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also