System.Windows.Controls.OpenFileDialog.EnsureMainThread C# (CSharp) Method

EnsureMainThread() static private method

static private EnsureMainThread ( ) : void
return void
		static void EnsureMainThread ()
		{
			if (!Helper.CheckAccess ())
				throw new InvalidOperationException ("Must be called from the main thread");
		}
	}