Export (0) Print
Expand All

DecoderFallbackException.BytesUnknown Property

Gets the input byte sequence that caused the exception.

Namespace:  System.Text
Assembly:  mscorlib (in mscorlib.dll)

public byte[] BytesUnknown { get; }

Property Value

Type: System.Byte[]
The input byte array that cannot be decoded.

The Index property indicates the position in the input byte array of the first byte that cannot be decoded.

If a sequence of bytes cannot be decoded, the array returned by the BytesUnknown method does not necessarily include all of them. Typically, it includes only the first byte that a decoding method was unable to decode.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft