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
- FlagsAttribute.cs
- ServiceOperationParameter.cs
- XmlSerializerSection.cs
- ButtonDesigner.cs
- DataControlFieldTypeEditor.cs
- NonBatchDirectoryCompiler.cs
- LoginStatusDesigner.cs
- FieldBuilder.cs
- ImageMetadata.cs
- WebServiceReceiveDesigner.cs
- OracleRowUpdatedEventArgs.cs
- ControlIdConverter.cs
- Slider.cs
- WebPart.cs
- CheckBoxDesigner.cs
- ConfigXmlWhitespace.cs
- SeekStoryboard.cs
- CustomAttributeFormatException.cs
- TypeDescriptionProviderAttribute.cs
- RequestResizeEvent.cs
- ProxyManager.cs
- CopyOnWriteList.cs
- ReaderWriterLock.cs
- Int32CollectionValueSerializer.cs
- SecurityDescriptor.cs
- PKCS1MaskGenerationMethod.cs
- GridViewRowEventArgs.cs
- NativeMethods.cs
- SspiSafeHandles.cs
- TextEffect.cs
- GridViewRowPresenterBase.cs
- ErrorFormatterPage.cs
- DataGridViewAdvancedBorderStyle.cs
- ToolStripDropTargetManager.cs
- DataSourceCacheDurationConverter.cs
- CodeTypeParameter.cs
- XPathNodeList.cs
- ParameterElement.cs
- RotateTransform.cs
- WindowManager.cs
- WebPartMenu.cs
- ProfileProvider.cs
- XmlILOptimizerVisitor.cs
- MissingSatelliteAssemblyException.cs
- SparseMemoryStream.cs
- CalendarAutomationPeer.cs
- JsonWriter.cs
- RightsManagementPermission.cs
- DataServiceQueryOfT.cs
- SqlAggregateChecker.cs
- FormsAuthenticationUser.cs
- AsyncWaitHandle.cs
- EventDescriptor.cs
- XmlQueryRuntime.cs
- TextEditorSpelling.cs
- GenericEnumerator.cs
- UnhandledExceptionEventArgs.cs
- SqlDependencyListener.cs
- CompareInfo.cs
- RemotingSurrogateSelector.cs
- ConcurrencyBehavior.cs
- DataTableClearEvent.cs
- InputScope.cs
- HostedElements.cs
- PrintDialog.cs
- DataGridViewButtonColumn.cs
- UInt32.cs
- DataGridViewComponentPropertyGridSite.cs
- RectConverter.cs
- CustomSignedXml.cs
- SessionPageStateSection.cs
- DataGridCommandEventArgs.cs
- Switch.cs
- ActivityWithResult.cs
- DataServiceResponse.cs
- ToolboxService.cs
- HotSpotCollection.cs
- TypeGeneratedEventArgs.cs
- RestHandlerFactory.cs
- TextRunTypographyProperties.cs
- Identity.cs
- Timer.cs
- VisualCollection.cs
- ObjectPersistData.cs
- StackBuilderSink.cs
- Command.cs
- AppDomainAttributes.cs
- TableItemPattern.cs
- SqlProviderManifest.cs
- XPathNavigatorKeyComparer.cs
- ReadWriteSpinLock.cs
- MatrixAnimationUsingKeyFrames.cs
- ObjectListComponentEditor.cs
- ContextMenu.cs
- SecurityCredentialsManager.cs
- LocatorPart.cs
- DataGridViewImageCell.cs
- SolidBrush.cs
- ProviderConnectionPointCollection.cs
- DataGridViewBand.cs