Get the value of the TextString,
when it is encoded as UTF-8.
A String holding the value of the
TextString
from the service element.
Note: a strict decoding is used.
Thus if the value is not in UTF-8 encoding or has been
encoded incorrectly an error will occur.
| Exception | Condition |
|---|---|
| DecoderFallbackException |
If the value in the service element is not a valid string in the given encoding.
On NETCF, an ArgumentException is thrown; not that
ArgumentException is the base class of the
DecoderFallbackException exception.
|
| InvalidOperationException |
The service element is not of type
TextString.
|