UserInfoHeader Class
UserInfoHeader Class
Contains context-related information for the SOAP header that is sent with calls to MapPoint Web Service by using methods of the CommonServiceSoap class. The UserInfoHeader class defines the locale, language, and unit of measure in which results are returned. You can override the MapPoint Web Service default values by setting the properties of the UserInfoHeader class.
Public Class UserInfoHeader
Inherits System.Web.Services.Protocols.SoapHeader
[C#]
public class UserInfoHeader : System.Web.Services.Protocols.SoapHeader
Public Properties
Name | Description |
---|---|
Context | Defines the country/region context (CountryRegionContext object) that is associated with a request. |
Culture | Contains the culture name and locale identifier (CultureInfo object) that specifies the language in which MapPoint Web Service should return results. For more information about the languages available for MapPoint Web Service data sources, see Supported Languages. |
DefaultDistanceUnit | Defines the unit of measure (miles or kilometers) as a DistanceUnit enumeration to use for input or output parameters. |
Remarks
The UserInfoHeader class is passed in the SOAP header in the CommonServiceSoap.UserInfoHeaderValue property.
The UserInfoHeader class is also inherited by the UserInfoFindHeader , UserInfoRenderHeader, and UserInfoRouteHeader classes.
See Also
CommonServiceSoap Class | CountryRegionContext Class | CultureInfo Class | DistanceUnit Enumeration