Share via


DacException Constructor (String)

Initializes a new instance of the DacException class that has the specified message text.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New DacException(message)
public DacException(
    string message
)
public:
DacException(
    String^ message
)
new : 
        message:string -> DacException
public function DacException(
    message : String
)

Parameters

  • message
    Type: System.String
    A String value that specifies the message text describing the event that caused the exception.