IWebApplicationNavigationEvents::NavigateError method (webapplication.h)
Fired when a binding error occurs (window or frameset element).
Syntax
HRESULT NavigateError(
[in] IHTMLWindow2 *htmlWindow,
[in] LPCWSTR url,
[in] LPCWSTR targetFrameName,
[in] DWORD statusCode
);
Parameters
[in] htmlWindow
Type: IHTMLWindow2*
The window ro frame in which the navigation error occurred.
[in] url
Type: LPCWSTR
The URL for which navigation failed.
[in] targetFrameName
Type: LPCWSTR
The name of the frame in which the navigation error occurred. The value is null if no named frame was targeted.
[in] statusCode
Type: DWORD
The error code. Could be a HRESULT or a HTTP status code.
Return value
Type: HRESULT
Ignored by the host. If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | webapplication.h |