IWebGeopositionError interface

Provides properties that describe error conditions that occur while trying to retrieve the geographic location of the device running Windows Internet Explorer using the geolocation object.

Members

The IWebGeopositionError interface inherits from the IDispatch interface. IWebGeopositionError also has these types of members:

  • Properties

Properties

The IWebGeopositionError interface has these properties.

Property Description

code

Returns an integer value that indicates the type of error that occurred while trying to retrieve geographic information.

message

Gets an error message for debugging purposes.

 

Remarks

Windows Internet Explorer 9. This property is supported only for webpages displayed in IE9 Standards mode. For more information, please see Defining Document Compatibility.

This object is the parameter to the error callback function that is invoked when a call to the IWebGeolocation::getCurrentPosition function or the IWebGeolocation::watchPosition function fails.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch