Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetApartmentState() [2/2]

bool System.Threading.Thread.SetApartmentState ( ApartmentState state,
bool throwOnError )
inlineprivate

Definition at line 781 of file Thread.cs.

782 {
783 if ((uint)state > 2u)
784 {
785 throw new ArgumentOutOfRangeException("state", SR.ArgumentOutOfRange_Enum);
786 }
788 }
bool SetApartmentStateUnchecked(ApartmentState state, bool throwOnError)
Definition Thread.cs:463

References System.SR.ArgumentOutOfRange_Enum, System.Threading.Thread.SetApartmentStateUnchecked(), and System.state.