DataMisalignedException Constructor (String^, Exception^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DataMisalignedException class using the specified error message and underlying exception.

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

public:
DataMisalignedException(
	String^ message,
	Exception^ innerException
)

Parameters

message
Type: System::String^

A String object that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

innerException
Type: System::Exception^

The exception that is the cause of the current DataMisalignedException. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

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