カスタム エラー メッセージを使用して HierarchyIdException クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
Public Sub New ( _
message As String _
)
'使用
Dim message As String
Dim instance As New HierarchyIdException(message)
public HierarchyIdException(
string message
)
public:
HierarchyIdException(
String^ message
)
new :
message:string -> HierarchyIdException
public function HierarchyIdException(
message : String
)
パラメーター
- message
型: System.String
カスタム エラー メッセージを表す string です。
説明
このコンストラクターは、例外をスローするオブジェクトがカスタム エラー情報を渡すときに呼び出されます。