HierarchyIdException 생성자 (String, Exception)

Initializes a new instance of the HierarchyIdExceptionclass with a custom error message and the triggering exception object.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
‘사용 방법
Dim message As String 
Dim innerException As Exception 

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

매개 변수

  • message
    유형: System.String
    A string that contains the error message
  • innerException
    유형: System.Exception
    The exception instance that caused the current exception.

주의

The constructor is called by another exception object to transmit exception data upstream.

참고 항목

참조

HierarchyIdException 클래스

HierarchyIdException 오버로드

Microsoft.SqlServer.Types 네임스페이스