Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / ThreadAttributes.cs / 1 / ThreadAttributes.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** File: ThreadAttributes.cs
**
** Author:
**
** Purpose: For Threads-related custom attributes.
**
** Date: July, 2000
**
=============================================================================*/
namespace System {
[AttributeUsage (AttributeTargets.Method)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class STAThreadAttribute : Attribute
{
public STAThreadAttribute()
{
}
}
[AttributeUsage (AttributeTargets.Method)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class MTAThreadAttribute : Attribute
{
public MTAThreadAttribute()
{
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** File: ThreadAttributes.cs
**
** Author:
**
** Purpose: For Threads-related custom attributes.
**
** Date: July, 2000
**
=============================================================================*/
namespace System {
[AttributeUsage (AttributeTargets.Method)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class STAThreadAttribute : Attribute
{
public STAThreadAttribute()
{
}
}
[AttributeUsage (AttributeTargets.Method)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class MTAThreadAttribute : Attribute
{
public MTAThreadAttribute()
{
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _UncName.cs
- HttpCachePolicy.cs
- ListControlConvertEventArgs.cs
- MonikerHelper.cs
- Application.cs
- RtType.cs
- PtsContext.cs
- TypeTypeConverter.cs
- EventLogger.cs
- PrintController.cs
- WindowsButton.cs
- BaseCollection.cs
- precedingquery.cs
- ContainerUIElement3D.cs
- SiteMembershipCondition.cs
- BackStopAuthenticationModule.cs
- RowParagraph.cs
- SortDescription.cs
- ProfilePropertyNameValidator.cs
- ProtocolsConfigurationEntry.cs
- unsafeIndexingFilterStream.cs
- FreezableDefaultValueFactory.cs
- ItemTypeToolStripMenuItem.cs
- EndOfStreamException.cs
- HttpCachePolicyElement.cs
- DynamicPropertyHolder.cs
- cookiecollection.cs
- SqlInternalConnection.cs
- EdmType.cs
- Privilege.cs
- ThreadExceptionEvent.cs
- List.cs
- HtmlDocument.cs
- ForeignKeyFactory.cs
- HttpConfigurationContext.cs
- DataSourceXmlElementAttribute.cs
- ConfigurationManagerInternalFactory.cs
- OracleBinary.cs
- DataGridViewHeaderCell.cs
- DictionaryBase.cs
- FixedHyperLink.cs
- Mutex.cs
- ApplicationGesture.cs
- TextEffectCollection.cs
- TimeSpanOrInfiniteConverter.cs
- HMACSHA512.cs
- VectorCollectionValueSerializer.cs
- OverlappedAsyncResult.cs
- TypeBuilderInstantiation.cs
- KeyedHashAlgorithm.cs
- XmlWrappingWriter.cs
- IPipelineRuntime.cs
- ToolStripDropDownClosedEventArgs.cs
- SettingsBindableAttribute.cs
- TdsRecordBufferSetter.cs
- LookupNode.cs
- CachedPathData.cs
- Matrix3D.cs
- PictureBox.cs
- CryptoApi.cs
- PageRequestManager.cs
- SystemDiagnosticsSection.cs
- Margins.cs
- LineServicesRun.cs
- NamespaceCollection.cs
- RenderDataDrawingContext.cs
- FrameworkObject.cs
- RegexStringValidatorAttribute.cs
- DataGridViewColumnHeaderCell.cs
- StylusLogic.cs
- TextSelectionProcessor.cs
- SimpleMailWebEventProvider.cs
- glyphs.cs
- SequenceDesignerAccessibleObject.cs
- BidPrivateBase.cs
- DirectoryNotFoundException.cs
- PageAdapter.cs
- DataGridViewRowPostPaintEventArgs.cs
- ActivityTypeResolver.xaml.cs
- ListBindingConverter.cs
- FrameworkContentElement.cs
- XamlContextStack.cs
- LocalBuilder.cs
- CodeMethodInvokeExpression.cs
- MarshalByValueComponent.cs
- XPathScanner.cs
- ConfigurationSchemaErrors.cs
- EmptyEnumerator.cs
- SimpleFileLog.cs
- SystemNetworkInterface.cs
- XMLSchema.cs
- XmlTextAttribute.cs
- SiteMapSection.cs
- StructuredProperty.cs
- WebPartsPersonalization.cs
- CalendarDesigner.cs
- MenuItemBinding.cs
- PrintDialog.cs
- DynamicPropertyReader.cs
- KoreanCalendar.cs