IWebApplicationNavigationEvents::NavigateError method

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

htmlWindow [in]

Type: IHTMLWindow2*

The window ro frame in which the navigation error occurred.

url [in]

Type: LPCWSTR

The URL for which navigation failed.

targetFrameName [in]

Type: LPCWSTR

The name of the frame in which the navigation error occurred. The value is null if no named frame was targeted.

statusCode [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

IDL

Webapplication.idl

See also

IWebApplicationNavigationEvents

 

 

Community Additions

ADD
Show:
© 2014 Microsoft