public sealed class DecoderValidationFallback : DecoderFallbackPublic NotInheritable Class DecoderValidationFallback
Inherits DecoderFallbackpublic ref class DecoderValidationFallback sealed : public DecoderFallback[<SealedAttribute>]
type DecoderValidationFallback =
class
inherit DecoderFallback
endUse DecoderValidationFallback objects with the methods
The DecoderValidationFallback object is passed as a DecoderFallback object.
The DecoderValidationFallback class behaves like the DecoderReplacementFallback class, except that it informs after use in its HasError property whether an error has occurred. To evaluate the property, You should keep a reference to the DecoderValidationFallback object or cast the return value of the Encoding.DecoderFallback property to the Type DecoderValidationFallback.
When using the DecoderValidationFallback object multiple times, the Reset method can be called to reset the HasError property.
| DecoderValidationFallback | Initializes a new instance of the DecoderValidationFallback class |
| HasError | Indicates whether a decoding error occurred. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Reset | Resets the HasError property to its initial value false. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |