Share via


UtilityException Constructor (String)

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

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

Syntax

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

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

Parameters

  • message
    Type: System.String
    Contains a message describing the error.