Ensures the current code is not running on the UI thread.

Namespace: FirstFloor.SilverlightSpy.Interop
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.5.0)

Syntax

C#
public static void EnsureNonUIThread()
Visual Basic
Public Shared Sub EnsureNonUIThread
Visual C++
public:
static void EnsureNonUIThread()

See Also