Encoder::Fallback Property
.NET Framework (current version)
Gets or sets a EncoderFallback object for the current Encoder object.
Assembly: mscorlib (in mscorlib.dll)
public: [ComVisibleAttribute(false)] property EncoderFallback^ Fallback { EncoderFallback^ get(); void set(EncoderFallback^ value); }
| Exception | Condition |
|---|---|
| ArgumentNullException | The value in a set operation is null (Nothing). |
| ArgumentException | A new value cannot be assigned in a set operation because the current EncoderFallbackBuffer object contains data that has not been encoded yet. |
| EncoderFallbackException | A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation) -and- Fallback is set to EncoderExceptionFallback. |
The EncoderFallback object represents an error handler that is invoked when a character cannot be converted into an encoded byte sequence.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: