DecoderFallbackException Constructor (String, Byte[], Int32)

DecoderFallbackException Constructor (String, Byte(), Int32)

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

Initializes a new instance of the DecoderFallbackException class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.

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

'Declaration
Public Sub New ( _
	message As String, _
	bytesUnknown As Byte(), _
	index As Integer _
)

Parameters

message
Type: System.String
An error message.
bytesUnknown
Type: System.Byte ()
The input byte array.
index
Type: System.Int32
The index position in bytesUnknown of the byte that cannot be decoded.

The Exception.HResult property for this exception is set to COR_E_ARGUMENT (0x80070057).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft