C# Class 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.

Afficher le fichier Open project: Elders/Hystrix.NET Class Usage Examples

Méthodes publiques

Méthode Description
AssignCallingThread ( Thread callingThread ) : void
GetCallingThreadStack ( ) : StackTrace

Private Methods

Méthode Description
GetStackTrace ( Thread targetThread ) : StackTrace

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

Method Details

AssignCallingThread() public static méthode

public static AssignCallingThread ( Thread callingThread ) : void
callingThread Thread
Résultat void

GetCallingThreadStack() public static méthode

public static GetCallingThreadStack ( ) : StackTrace
Résultat System.Diagnostics.StackTrace