Share via


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
public propertyContext

Defines the country/region context (CountryRegionContext object) that is associated with a request.

public propertyCulture

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.

public propertyDefaultDistanceUnit

Defines the unit of measure (miles or kilometers) as a DistanceUnit enumeration to use for input or output parameters.

Remarks

See Also

  CommonServiceSoap Class   |   CountryRegionContext Class   |   CultureInfo Class   |   DistanceUnit Enumeration