Constructeur UtilityException (String, Exception)

Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Utilisation
Dim message As String
Dim innerException As Exception

Dim instance As New UtilityException(message, _
    innerException)
public UtilityException(
    string message,
    Exception innerException
)
public:
UtilityException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UtilityException
public function UtilityException(
    message : String, 
    innerException : Exception
)

Paramètres