1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<Type Name="MTAThreadAttribute" FullName="System.MTAThreadAttribute">
<TypeSignature Maintainer="auto" Language="C#" Value="public sealed class MTAThreadAttribute : System.Attribute" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs>
<summary>This attribute is used to flag the method as using the MultiThreaded Apartment model.</summary>
<remarks>For example:
<example>
<code lang="C#">
[MTAThread]
static void DoFoo ()
{
}
</code>
</example></remarks>
</Docs>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.AttributeUsage(System.AttributeTargets.Method)</AttributeName>
</Attribute>
</Attributes>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MTAThreadAttribute ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Creates a new instance of the <see cref="T:System.MTAThreadAttribute" />.</summary>
<remarks>Creates a new instance of the <see cref="T:System.MTAThreadAttribute" />.</remarks>
</Docs>
</Member>
</Members>
</Type>
|