Language

IDNA.Error.DomainNameTooLong Property

Definition

A domain name is longer than 255 bytes in its storage form.

[Android.Runtime.Register("DOMAIN_NAME_TOO_LONG", ApiSince=24)]
public static Android.Icu.Text.IDNA.Error DomainNameTooLong { get; }
[<Android.Runtime.Register("DOMAIN_NAME_TOO_LONG", ApiSince=24)>]
static member DomainNameTooLong : Android.Icu.Text.IDNA.Error

Property Value

The error for an all-ASCII ToASCII output domain that exceeds the DNS storage-length limit.

Attributes

Remarks

A domain name is longer than 255 bytes in its storage form. (See STD13/RFC1034 3.1. Name space specifications and terminology.) This is only checked in ToASCII operations, and only if the output domain name is all-ASCII.

Android reference for android.icu.text.IDNA.Error.DOMAIN_NAME_TOO_LONG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to