CurrentThreadId | Return the current thread's Id (CurrentThread.ManagedThreadId) |
CurrentThreadName | Return the current thread's name (CurrentThread.Name) |
IsMainThread | Returns true if we're executing under the main thread |
AssertIsMainThread | Throws an exception if this is not called under the main thread |
AssertIsNotMainThread | Throws an exception if this is the main thread |