The calling thread must be STA, because many UI components require this error In WPF?

Posted by Rev on Stack Overflow See other posts from Stack Overflow or by Rev
Published on 2010-04-17T04:17:17Z Indexed on 2010/04/17 4:23 UTC
Read the original article Hit count: 1681

Filed under:
|

Hi.

I make pop-up message for my application. this form is on wpf, and in the a thread i check a value and for some result , I show that pop-up to show message.

In the thread when I create pop-up class(type of WPF window class) an error throw by pop-up Contractor. "The calling thread must be STA, because many UI components require this"

What do I do?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about threading