BytesUnknown Property
Collapse the table of content
Expand the table of content

DecoderFallbackException.BytesUnknown Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the input byte sequence that caused the exception.

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

'Declaration
Public ReadOnly Property BytesUnknown As Byte()

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft