UTF8Encoding: EncoderFallback (set) |
Sets the EncoderFallback object for the current Encoding object.
Public Property Set EncoderFallback( ByVal Value As EncoderFallback )
The EncoderFallback object represents an error handler that is invoked when a character cannot be converted into an encoded byte sequence. 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. |