C# 클래스 Elders.Hystrix.NET.Exceptions.ExceptionThreadingUtility

Used to capture a stacktrace from one thread and append it to the stacktrace of another

This is used to make the exceptions thrown from an isolation thread useful, otherwise they see a stacktrace on a thread but never see who was calling it.

파일 보기 프로젝트 열기: Elders/Hystrix.NET 1 사용 예제들

공개 메소드들

메소드 설명
AssignCallingThread ( Thread callingThread ) : void
GetCallingThreadStack ( ) : StackTrace

비공개 메소드들

메소드 설명
GetStackTrace ( Thread targetThread ) : StackTrace

http://stackoverflow.com/questions/285031/how-to-get-non-current-threads-stacktrace/14935378#14935378

메소드 상세

AssignCallingThread() 공개 정적인 메소드

public static AssignCallingThread ( Thread callingThread ) : void
callingThread Thread
리턴 void

GetCallingThreadStack() 공개 정적인 메소드

public static GetCallingThreadStack ( ) : StackTrace
리턴 System.Diagnostics.StackTrace