STAThreadAttribute (System.STAThreadAttribute)

Inherits: System.Attribute

Interfaces: _Attribute

Derived Types: 0

Assembly: mscorlib.dll

Indicates that the default threading model for an application is single-threaded apartment (STA).

VB.NET C#

C#

public sealed class STAThreadAttribute : System.Attribute, System.Runtime.InteropServices._Attribute
{
}

Articles

Avalon without XAML

System::STAThreadAttribute] int main() { System::Windows::MessageBox::Show("Hello, Avalon"); } Download solution. Rendering. 4. Repeat steps 1-3 for Message box and add references ...

Obfuscator .NET for Visual Studio .NET .net obfuscator obfuscation VB ...

custom instance void [mscorlib]System.STAThreadAttribute::.ctor() = ( 01 00 00 00 ) .maxstack 8 IL_0000: nop IL_0001: ldsfld string ConsoleApplication1. Module1 :: str

GINO graphics - Lahey .NET Example

... sender class(System%EventArgs),target :: e call this%pictureBox1%Refresh() end subroutine end module program main !.nca (main,add=System%STAThreadAttribute ...

GINO graphics - Lahey .NET Example

EEC')) call Gino%FlushGraphics call graphobj%ReleaseHdc(hdc) end subroutine ! end module program main !.nca (main,add=System%STAThreadAttribute ...

STAThreadAttribute Class

Indicates that the COM threading model for an application is single-threaded apartment (STA). For a list of all members of this type, see STAThreadAttribute Members

STAThreadAttribute Class (System)

Indicates that the COM threading model for an application is single-threaded apartment (STA) ... Indicates that the COM threading model for an application is single-threaded ...

Mono Documentation

... is used to flag the method as using the Single Threaded Apartment model. See Also: STAThreadAttribute Members. System.Object System.Attribute System.STAThreadAttribute

Mono Documentation

The members of System.STAThreadAttribute are listed below. See Also: Inherited members from System.Attribute [ ...

Lutz Roeder's Programming.NET C# VB CLR

Tools and source code for .NET, C# and Visual Basic. Reflector is a popular class browser. Resourcer is a .NET resource editor. [ Back ] ...

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support