System.Text.EncoderExceptionFallbackBuffer.Fallback Method

Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the character that cannot be converted.

Syntax

public override bool Fallback (char charUnknown, int index)

Parameters

charUnknown
An input character.
index
The index position of the character in the input buffer.

Returns

None. No value is returned because the EncoderExceptionFallbackBuffer.Fallback(char, int) method always throws an exception.

Remarks

Requirements

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0