Summary

MainThread related functions.

Static Properties

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

Static Methods

AssertIsMainThread
AssertIsNotMainThread Throws an exception if this is the main thread
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.