Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / TimeoutException.cs / 1 / TimeoutException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** Class: TimeoutException
**
**
** Purpose: Exception class for Timeout
**
**
=============================================================================*/
namespace System
{
using System.Runtime.Serialization;
[Serializable()]
[System.Runtime.InteropServices.ComVisible(true)]
public class TimeoutException : SystemException {
public TimeoutException()
: base(Environment.GetResourceString("Arg_TimeoutException")) {
SetErrorCode(__HResults.COR_E_TIMEOUT);
}
public TimeoutException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_TIMEOUT);
}
public TimeoutException(String message, Exception innerException)
: base(message, innerException) {
SetErrorCode(__HResults.COR_E_TIMEOUT);
}
//
//This constructor is required for serialization.
//
protected TimeoutException(SerializationInfo info, StreamingContext context)
: base(info, context) {
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemeSettingElementCollection.cs
- LongPath.cs
- RegexStringValidator.cs
- WinEventTracker.cs
- XmlDataLoader.cs
- TemplateNameScope.cs
- XmlSchemaException.cs
- Size3D.cs
- SocketPermission.cs
- ReflectPropertyDescriptor.cs
- ContainerParaClient.cs
- DbConnectionStringCommon.cs
- ObjectSecurity.cs
- RelatedImageListAttribute.cs
- ListBindingHelper.cs
- DispatchWrapper.cs
- IInstanceTable.cs
- arclist.cs
- _PooledStream.cs
- BmpBitmapDecoder.cs
- AsyncStreamReader.cs
- XmlWriter.cs
- VolatileEnlistmentState.cs
- XComponentModel.cs
- TransformPattern.cs
- UriTemplatePathSegment.cs
- UserInitiatedNavigationPermission.cs
- NamespaceInfo.cs
- SwitchAttribute.cs
- X500Name.cs
- ConfigXmlWhitespace.cs
- ClickablePoint.cs
- KeyValuePair.cs
- _DigestClient.cs
- Lock.cs
- VoiceObjectToken.cs
- UnsafeNativeMethods.cs
- ModuleBuilder.cs
- SecurityPolicySection.cs
- StandardCommands.cs
- _OverlappedAsyncResult.cs
- AccessDataSource.cs
- SqlCharStream.cs
- ProxyWebPartConnectionCollection.cs
- TraceRecord.cs
- ArrayList.cs
- Fault.cs
- TraceSection.cs
- WebPartVerb.cs
- ObjectCloneHelper.cs
- OutputCacheSettings.cs
- BamlCollectionHolder.cs
- DesignerActionPanel.cs
- TextContainerHelper.cs
- DropShadowEffect.cs
- DataGridViewCellFormattingEventArgs.cs
- SpeechDetectedEventArgs.cs
- EncodingNLS.cs
- SpeakCompletedEventArgs.cs
- OLEDB_Util.cs
- FileUtil.cs
- FolderLevelBuildProvider.cs
- ProxyElement.cs
- UpDownBase.cs
- VectorCollectionConverter.cs
- StaticResourceExtension.cs
- ProfileSettingsCollection.cs
- OLEDB_Enum.cs
- TrustSection.cs
- Line.cs
- XmlRawWriterWrapper.cs
- CLSCompliantAttribute.cs
- DoubleAnimation.cs
- UnmanagedMarshal.cs
- SafeSecurityHandles.cs
- XmlSchemaSet.cs
- mediaeventargs.cs
- UniqueEventHelper.cs
- Pts.cs
- CatalogPartChrome.cs
- AppSettingsSection.cs
- UnsafeNativeMethods.cs
- ZipIOLocalFileDataDescriptor.cs
- HtmlLink.cs
- DataGridCaption.cs
- SqlDataSourceCommandEventArgs.cs
- RegisteredExpandoAttribute.cs
- BamlLocalizableResourceKey.cs
- XmlTypeMapping.cs
- FrugalList.cs
- WebPartManagerInternals.cs
- ServicesUtilities.cs
- IntegerFacetDescriptionElement.cs
- ResizeGrip.cs
- SimplePropertyEntry.cs
- EditorPartDesigner.cs
- DispatchWrapper.cs
- TextParagraphView.cs
- TableParaClient.cs
- ModelUIElement3D.cs