Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DecoderFallbackException Constructor (String^, array<Byte>^, Int32)

 

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)

public:
DecoderFallbackException(
	String^ message,
	array<unsigned char>^ bytesUnknown,
	int index
)

Parameters

message
Type: System::String^

An error message.

bytesUnknown
Type: array<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).

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft