Table of Contents

Method CheckSTARequirement

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CheckSTARequirement()

Checks current thread on STA.

public virtual void CheckSTARequirement()

Remarks

This method performs checks only on MSW, on other os it does nothing.

Exceptions

InvalidOperationException

Raised if GetApartmentState() is not STA.