﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DecoderExceptionFallbackBuffer" FullName="System.Text.DecoderExceptionFallbackBuffer"><TypeSignature Language="C#" Value="public sealed class DecoderExceptionFallbackBuffer : System.Text.DecoderFallbackBuffer" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit DecoderExceptionFallbackBuffer extends System.Text.DecoderFallbackBuffer" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Text.DecoderFallbackBuffer</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 byte sequence cannot be converted to an output character, the decoding operation calls the <see cref="M:System.Text.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> method, which throws <see cref="T:System.Text.DecoderFallbackException" />.</para><para>The <see cref="T:System.Text.DecoderFallbackBuffer" /> class, which represents a data buffer used in a decoding operation, is the base class for the <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> class. However, instead of a data buffer, the <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> class represents a standard behavior in which an exception is thrown if a decoding 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.DecoderFallbackException" /> when an encoded input byte sequence cannot be converted to a decoded output character. This class cannot be inherited.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DecoderExceptionFallbackBuffer ();" /><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.DecoderExceptionFallbackBuffer" /> class. </para></summary></Docs></Member><Member MemberName="Fallback"><MemberSignature Language="C#" Value="public override bool Fallback (byte[] bytesUnknown, int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Fallback(unsigned int8[] bytesUnknown, 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="bytesUnknown" Type="System.Byte[]" /><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.Decoder.Convert" /> methods call <see cref="M:System.Text.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> if they encounter an unknown byte in their input. In response, the <see cref="M:System.Text.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> method always throws <see cref="T:System.Text.DecoderFallbackException" /> and displays the input data. The <see cref="M:System.Text.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> method nominally indicates whether an exception is thrown if an input byte sequence cannot be decoded. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Throws <see cref="T:System.Text.DecoderFallbackException" /> when the input byte sequence cannot be decoded. 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.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> method always throws an exception. </para><para>The nominal return value is true. A return value is defined, although it is unchanging, because this method implements an abstract method.</para></returns><param name="bytesUnknown"><attribution license="cc4" from="Microsoft" modified="false" />An input array of bytes.</param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The index position of a byte in the input.</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.DecoderExceptionFallbackBuffer" /> has no actual exception data buffer, the <see cref="M:System.Text.DecoderExceptionFallbackBuffer.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 data 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.DecoderExceptionFallbackBuffer" /> has no actual exception data buffer, the <see cref="M:System.Text.DecoderExceptionFallbackBuffer.MovePrevious" /> method always returns false.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Causes the next call to <see cref="M:System.Text.DecoderExceptionFallbackBuffer.GetNextChar" /> 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.DecoderExceptionFallbackBuffer" /> has no actual exception data buffer, the <see cref="P:System.Text.DecoderExceptionFallbackBuffer.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.DecoderExceptionFallbackBuffer" /> object that remain to be processed.</para></summary></Docs></Member></Members></Type>