UTF8Encoding: DecoderFallback (set) |
Sets the DecoderFallback object for the current Encoding object.
Public Property Set DecoderFallback( ByVal Value As DecoderFallback )
The DecoderFallback object represents an error handler that is invoked when an encoded byte sequence cannot be decoded into a character. Any one of the following handler types is supported:
Read/Write.
Exception | Condition |
---|---|
ArgumentNullException | The value in a set operation is Nothing. |
InvalidOperationException | A value cannot be assigned in a set operation because the current Encoding object is read-only. |