Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EncoderFallbackException Constructor (String)

Initializes a new instance of the EncoderFallbackException class. A parameter specifies the error message.

Namespace:  System.Text
Assemblies:   mscorlib (in mscorlib.dll)
  System.Text.Encoding (in System.Text.Encoding.dll)

public EncoderFallbackException(
	string message
)

Parameters

message
Type: System.String

An error message.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft