public STASynchronizationContext(STAThread staThread)
        {
            #region Contracts

            if (staThread == null) throw new ArgumentNullException();

            #endregion

            // STAThread
            _staThread = staThread;
        }
 // Constructors
 public STASynchronizationContext()
 {
     // STAThread
     _staThread = new STAThread();
     _staThread.Start();
 }