共用方式為


UtilityException 建構函式 (String)

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

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public Sub New ( _
    message As String _
)
'用途
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
)

參數