C# Class msos.ClrThreadExtensions

Exibir arquivo Open project: goldshtn/msos Class Usage Examples

Public Methods

Method Description
ApartmentDescription ( this thread ) : string
IsThreadPoolThread ( this thread ) : bool
SpecialDescription ( this thread ) : string
WriteCurrentExceptionStackTraceToContext ( this thread, CommandExecutionContext context, bool displayArgumentsAndLocals ) : void
WriteCurrentStackTraceToContext ( this thread, CommandExecutionContext context, bool displayArgumentsAndLocals ) : void
WriteStackTraceToContext ( this thread, IList stackTrace, CommandExecutionContext context, bool displayArgumentsAndLocals ) : void

Private Methods

Method Description
DisplayOneArgumentOrLocal ( CommandExecutionContext context, string which, ArgumentOrLocal argOrLocal ) : void

Method Details

ApartmentDescription() public static method

public static ApartmentDescription ( this thread ) : string
thread this
return string

IsThreadPoolThread() public static method

public static IsThreadPoolThread ( this thread ) : bool
thread this
return bool

SpecialDescription() public static method

public static SpecialDescription ( this thread ) : string
thread this
return string

WriteCurrentExceptionStackTraceToContext() public static method

public static WriteCurrentExceptionStackTraceToContext ( this thread, CommandExecutionContext context, bool displayArgumentsAndLocals ) : void
thread this
context CommandExecutionContext
displayArgumentsAndLocals bool
return void

WriteCurrentStackTraceToContext() public static method

public static WriteCurrentStackTraceToContext ( this thread, CommandExecutionContext context, bool displayArgumentsAndLocals ) : void
thread this
context CommandExecutionContext
displayArgumentsAndLocals bool
return void

WriteStackTraceToContext() public static method

public static WriteStackTraceToContext ( this thread, IList stackTrace, CommandExecutionContext context, bool displayArgumentsAndLocals ) : void
thread this
stackTrace IList
context CommandExecutionContext
displayArgumentsAndLocals bool
return void