System.Text.EncoderExceptionFallbackBuffer.Fallback Method

Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the surrogate pair in the input, and the nominal return value is not used.

Syntax

public override bool Fallback (char charUnknownHigh, char charUnknownLow, int index)

Parameters

charUnknownHigh
The high surrogate of the input pair.
charUnknownLow
The low surrogate of the input pair.
index
The index position of the surrogate pair in the input buffer.

Returns

None. No value is returned because the EncoderExceptionFallbackBuffer.Fallback(char, 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