Exception 클래스는 발생 된 예외에 대한 자세한 내용을 자세히 설명하는 많은 속성을 제공합니다.예외를 throw하는 클래스 명을 가져옵니다
InnerException-->Gets Exception instance that caused the current exception
.
Public property -->TargetSite Gets the method that throws the current exception.
하지만 때로는 어떤 이해가되지 않습니다
StackTrace -->Gets a string representation of immediate frames on the call stack.
Source--> Gets or sets the name of application or object that causes the error.
Message-->Gets a message that describes the current exception.
.
at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc)
at Microsoft.SharePoint.SPList.GetItemById(Int32 id)
at JafraWFTest.JafraCustomWFActivity.<Execute>b__0()
이 경우 예외를 유발하는 행 번호 나 클래스 이름을 알 수 없습니다.
이렇게 예외를 일으키는 클래스 이름을 찾는 방법.