Bewerken

Share via


DataMisalignedException Constructors

Definition

Initializes a new instance of the DataMisalignedException class.

Overloads

DataMisalignedException()

Initializes a new instance of the DataMisalignedException class.

DataMisalignedException(String)

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

DataMisalignedException(String, Exception)

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

DataMisalignedException()

Source:
DataMisalignedException.cs
Source:
DataMisalignedException.cs
Source:
DataMisalignedException.cs

Initializes a new instance of the DataMisalignedException class.

public:
 DataMisalignedException();
public DataMisalignedException ();
Public Sub New ()

Applies to

DataMisalignedException(String)

Source:
DataMisalignedException.cs
Source:
DataMisalignedException.cs
Source:
DataMisalignedException.cs

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

public:
 DataMisalignedException(System::String ^ message);
public DataMisalignedException (string message);
public DataMisalignedException (string? message);
new DataMisalignedException : string -> DataMisalignedException
Public Sub New (message As String)

Parameters

message
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.

Applies to

DataMisalignedException(String, Exception)

Source:
DataMisalignedException.cs
Source:
DataMisalignedException.cs
Source:
DataMisalignedException.cs

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

public:
 DataMisalignedException(System::String ^ message, Exception ^ innerException);
public DataMisalignedException (string message, Exception innerException);
public DataMisalignedException (string? message, Exception? innerException);
new DataMisalignedException : string * Exception -> DataMisalignedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
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
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.

Applies to