|
MbUnit : FixtureThreadApartmentState
This page last changed on Jul 13, 2006 by marcstober.
A MbUnit fixture runs in it's own thread. By default, it uses the same AppartmentState as the main thread. If you want to force using another value, you can use the AppartmentState field in the constructor: Unable to find source-code formatter for language: cs. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml // A fixture running in STA [TestFixture(ApartmentState = ApartmentState.STA)] public class MyFixture { [Test] public void DoingCOM() { .... } }
|
| Document generated by Confluence on Jun 11, 2007 11:56 |