Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Threading / ThreadStartException.cs / 1 / ThreadStartException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Threading
{
using System;
using System.Runtime.Serialization;
using System.Runtime.InteropServices;
[Serializable()]
public sealed class ThreadStartException : SystemException
{
private ThreadStartException()
: base(Environment.GetResourceString("Arg_ThreadStartException"))
{
SetErrorCode(__HResults.COR_E_THREADSTART);
}
private ThreadStartException(Exception reason)
: base(Environment.GetResourceString("Arg_ThreadStartException"), reason)
{
SetErrorCode(__HResults.COR_E_THREADSTART);
}
//required for serialization
internal ThreadStartException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Threading
{
using System;
using System.Runtime.Serialization;
using System.Runtime.InteropServices;
[Serializable()]
public sealed class ThreadStartException : SystemException
{
private ThreadStartException()
: base(Environment.GetResourceString("Arg_ThreadStartException"))
{
SetErrorCode(__HResults.COR_E_THREADSTART);
}
private ThreadStartException(Exception reason)
: base(Environment.GetResourceString("Arg_ThreadStartException"), reason)
{
SetErrorCode(__HResults.COR_E_THREADSTART);
}
//required for serialization
internal ThreadStartException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
// 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
- WebScriptMetadataFormatter.cs
- ConfigXmlWhitespace.cs
- HtmlTableCellCollection.cs
- FillErrorEventArgs.cs
- GAC.cs
- AsnEncodedData.cs
- DoubleLink.cs
- StrokeCollection.cs
- SecurityListenerSettingsLifetimeManager.cs
- RequestDescription.cs
- XmlElementList.cs
- EmptyEnumerator.cs
- SpellerStatusTable.cs
- TypeGeneratedEventArgs.cs
- WhitespaceRuleReader.cs
- XmlAttributeOverrides.cs
- TraceData.cs
- PartitionedStream.cs
- IncrementalCompileAnalyzer.cs
- AddInController.cs
- ImmutableCollection.cs
- UnsafeNativeMethods.cs
- RSAOAEPKeyExchangeDeformatter.cs
- InfoCardUIAgent.cs
- SqlNotificationEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- ToolbarAUtomationPeer.cs
- Span.cs
- NameValueConfigurationCollection.cs
- ContentPropertyAttribute.cs
- ResourcesChangeInfo.cs
- SystemSounds.cs
- CompilationUnit.cs
- SafeRightsManagementHandle.cs
- KeyMatchBuilder.cs
- WmpBitmapEncoder.cs
- FromReply.cs
- ContextQuery.cs
- SiteOfOriginPart.cs
- AssemblySettingAttributes.cs
- Pair.cs
- WpfPayload.cs
- GcSettings.cs
- Guid.cs
- FixedTextContainer.cs
- StateWorkerRequest.cs
- DateTimeConverter.cs
- DocumentPageView.cs
- newinstructionaction.cs
- StrokeNodeOperations.cs
- DbExpressionVisitor.cs
- InfoCardArgumentException.cs
- ButtonAutomationPeer.cs
- MemoryFailPoint.cs
- HttpCapabilitiesBase.cs
- InlineObject.cs
- Pair.cs
- DelayedRegex.cs
- CatalogPartCollection.cs
- MyContact.cs
- AnonymousIdentificationSection.cs
- TreeViewImageIndexConverter.cs
- SqlGatherConsumedAliases.cs
- SchemaEntity.cs
- PathGeometry.cs
- TypeUtils.cs
- Hashtable.cs
- HtmlImage.cs
- KeyboardDevice.cs
- TdsParserSessionPool.cs
- ChangeProcessor.cs
- XmlQuerySequence.cs
- LayoutDump.cs
- SmiEventSink_DeferedProcessing.cs
- ClientSettings.cs
- X509ChainPolicy.cs
- SignerInfo.cs
- InfoCardMetadataExchangeClient.cs
- DBParameter.cs
- ObjectTypeMapping.cs
- TypedDataSourceCodeGenerator.cs
- FactoryGenerator.cs
- CommandHelpers.cs
- PeerToPeerException.cs
- IxmlLineInfo.cs
- IndentedTextWriter.cs
- Pen.cs
- ExceptionHandlersDesigner.cs
- ResourceReferenceExpressionConverter.cs
- XmlSchemaAny.cs
- WebPartEditorOkVerb.cs
- TypeSystem.cs
- CodeSubDirectory.cs
- TraceUtility.cs
- Executor.cs
- DataSourceUtil.cs
- DbMetaDataCollectionNames.cs
- SrgsSemanticInterpretationTag.cs
- SystemColors.cs
- SecurityTokenRequirement.cs