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.

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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