﻿<?xml version="1.0" encoding="utf-8"?><Type Name="EncoderExceptionFallbackBuffer" FullName="System.Text.EncoderExceptionFallbackBuffer"><TypeSignature Language="C#" Value="public sealed class EncoderExceptionFallbackBuffer : System.Text.EncoderFallbackBuffer" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit EncoderExceptionFallbackBuffer extends System.Text.EncoderFallbackBuffer" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Text.EncoderFallbackBuffer</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A common reason for an encoding or decoding operation to fail is if the underlying encoding class does not provide a mapping between a character and an equivalent byte sequence. If the input character cannot be converted to an output byte sequence, the encoding operation calls the <see cref="Overload:System.Text.EncoderExceptionFallbackBuffer.Fallback" /> method, which throws <see cref="T:System.Text.EncoderFallbackException" />.</para><para>The <see cref="T:System.Text.EncoderFallbackBuffer" /> class, which represents a data buffer used in an encoding operation, is the base class for the <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> class. However, instead of a data buffer, the <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> class represents a standard behavior wherein an exception is thrown if an encoding operation fails. No actual data buffer exists, and the members designed to manipulate such a buffer do no significant work.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Throws <see cref="T:System.Text.EncoderFallbackException" /> when an input character cannot be converted to an encoded output byte sequence. This class cannot be inherited.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public EncoderExceptionFallbackBuffer ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> class.</para></summary></Docs></Member><Member MemberName="Fallback"><MemberSignature Language="C#" Value="public override bool Fallback (char charUnknown, int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Fallback(char charUnknown, int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="charUnknown" Type="System.Char" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="Overload:System.Text.Encoding.GetBytes" /> and <see cref="Overload:System.Text.Encoder.Convert" /> methods call <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Int32)" /> if they encounter an unknown character in their input. In response, <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Int32)" /> always throws <see cref="T:System.Text.EncoderFallbackException" />. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the character that cannot be converted.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>None. No value is returned because the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Int32)" /> method always throws an exception. </para></returns><param name="charUnknown"><attribution license="cc4" from="Microsoft" modified="false" />An input character.</param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The index position of the character in the input buffer.</param></Docs></Member><Member MemberName="Fallback"><MemberSignature Language="C#" Value="public override bool Fallback (char charUnknownHigh, char charUnknownLow, int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Fallback(char charUnknownHigh, char charUnknownLow, int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="charUnknownHigh" Type="System.Char" /><Parameter Name="charUnknownLow" Type="System.Char" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="Overload:System.Text.Encoding.GetBytes" /> and <see cref="Overload:System.Text.Encoder.Convert" /> methods call <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Char,System.Int32)" /> if they encounter a surrogate pair in their input. In response, <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Char,System.Int32)" /> always throws an exception. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>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.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>None. No value is returned because the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Char,System.Int32)" /> method always throws an exception. </para></returns><param name="charUnknownHigh"><attribution license="cc4" from="Microsoft" modified="false" />The high surrogate of the input pair.</param><param name="charUnknownLow"><attribution license="cc4" from="Microsoft" modified="false" />The low surrogate of the input pair.</param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The index position of the surrogate pair in the input buffer.</param></Docs></Member><Member MemberName="GetNextChar"><MemberSignature Language="C#" Value="public override char GetNextChar ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance char GetNextChar() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Char</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Because <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> has no actual exception data buffer, the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.GetNextChar" /> method always returns the Unicode NULL character.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Retrieves the next character in the exception fallback buffer.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The return value is always the Unicode character, NULL (U+0000). </para><para>A return value is defined, although it is unchanging, because this method implements an abstract method.</para></returns></Docs></Member><Member MemberName="MovePrevious"><MemberSignature Language="C#" Value="public override bool MovePrevious ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool MovePrevious() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Because <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> has no actual exception data buffer, the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.MovePrevious" /> method always returns false.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Causes the next call to the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.GetNextChar" /> method to access the exception data buffer character position that is prior to the current position.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The return value is always false.</para><para>A return value is defined, although it is unchanging, because this method implements an abstract method.</para></returns></Docs></Member><Member MemberName="Remaining"><MemberSignature Language="C#" Value="public override int Remaining { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 Remaining" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Because <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> has no actual exception data buffer, the <see cref="P:System.Text.EncoderExceptionFallbackBuffer.Remaining" /> property always returns zero.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of characters in the current <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> object that remain to be processed.</para></summary></Docs></Member></Members></Type>