DataMisalignedException Constructor (String, Exception)

DataMisalignedException Constructor (String, Exception)

 

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

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

new : 
        message:string *
        innerException:Exception -> DataMisalignedException

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 4.5
.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:
© 2016 Microsoft