Επεξεργασία

Κοινή χρήση μέσω


SqlTruncateException Constructors

Definition

Initializes a new instance of the SqlTruncateException class.

Overloads

SqlTruncateException()

Initializes a new instance of the SqlTruncateException class.

SqlTruncateException(String)

Initializes a new instance of the SqlTruncateException class with a specified error message.

SqlTruncateException(String, Exception)

Initializes a new instance of the SqlTruncateException class with a specified error message and a reference to the Exception.

SqlTruncateException()

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

Initializes a new instance of the SqlTruncateException class.

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

Applies to

SqlTruncateException(String)

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

Initializes a new instance of the SqlTruncateException class with a specified error message.

public:
 SqlTruncateException(System::String ^ message);
public SqlTruncateException (string? message);
public SqlTruncateException (string message);
new System.Data.SqlTypes.SqlTruncateException : string -> System.Data.SqlTypes.SqlTruncateException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

SqlTruncateException(String, Exception)

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

Initializes a new instance of the SqlTruncateException class with a specified error message and a reference to the Exception.

public:
 SqlTruncateException(System::String ^ message, Exception ^ e);
public SqlTruncateException (string? message, Exception? e);
public SqlTruncateException (string message, Exception e);
new System.Data.SqlTypes.SqlTruncateException : string * Exception -> System.Data.SqlTypes.SqlTruncateException
Public Sub New (message As String, e As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

e
Exception

A reference to an inner Exception.

Applies to