Class InternationalHeader
Represents the data contract for the international message header.
[DataContract(Name = "International", Namespace = "http://www.w3.org/2005/09/ws-i18n")]
public class InternationalHeader
- Inheritance
-
InternationalHeader
- Inherited Members
Remarks
This follows the Web Services Internationalization (WS-I18N) specification (see http://www.w3.org/TR/ws-i18n/). Note that this is only a partial implementation. WS-I18N includes facilities for other things, like sending the local time zone. Should additional features be needed, be sure to reference WS-I18N to add them in a compatible way.
Constructors
InternationalHeader(string)
Initializes a new instance of the InternationalHeader class.
public InternationalHeader(string locale)
Parameters
localestringThe locale name.
Exceptions
- ArgumentNullException
localeis null.
Fields
InternationalElementName
The WS-I18N International element name.
public const string InternationalElementName = "International"
Field Value
NamespaceURI
The WS-I18N namespace URI.
public const string NamespaceURI = "http://www.w3.org/2005/09/ws-i18n"
Field Value
Properties
Locale
Gets the locale name.
[DataMember(Name = "Locale")]
public string Locale { get; }