共用方式為


DacServicesException Constructors

Definition

Overloads

DacServicesException()

Construct a new instance of the DacServicesException class.

DacServicesException(String)

Construct a new instance of the DacServicesException class with the specified error message.

DacServicesException(String, Exception)

Construct a new instance of the DacServicesException class with the specified error message and a reference to the inner exception that is the cause of this exception.

DacServicesException()

Construct a new instance of the DacServicesException class.

public DacServicesException ();
Public Sub New ()

Applies to

DacServicesException(String)

Construct a new instance of the DacServicesException class with the specified error message.

public DacServicesException (string message);
new Microsoft.SqlServer.Dac.DacServicesException : string -> Microsoft.SqlServer.Dac.DacServicesException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

DacServicesException(String, Exception)

Construct a new instance of the DacServicesException class with the specified error message and a reference to the inner exception that is the cause of this exception.

public DacServicesException (string message, Exception innerException);
new Microsoft.SqlServer.Dac.DacServicesException : string * Exception -> Microsoft.SqlServer.Dac.DacServicesException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Applies to