Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / TimeoutException.cs / 1305376 / 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. // [System.Security.SecuritySafeCritical] // auto-generated protected TimeoutException(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. // // ==--== /*============================================================================== ** ** 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. // [System.Security.SecuritySafeCritical] // auto-generated protected TimeoutException(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
- TypeSystem.cs
- DbProviderManifest.cs
- comcontractssection.cs
- FlowDocumentScrollViewer.cs
- StyleModeStack.cs
- DataGridViewCheckBoxColumn.cs
- TextModifier.cs
- Focus.cs
- NavigationService.cs
- Encoder.cs
- _HelperAsyncResults.cs
- IncrementalCompileAnalyzer.cs
- SerializationObjectManager.cs
- ListViewTableRow.cs
- WebPartManagerDesigner.cs
- FixedElement.cs
- VisualBrush.cs
- LineInfo.cs
- Transaction.cs
- PointLight.cs
- UpdateExpressionVisitor.cs
- DependencyPropertyDescriptor.cs
- CatalogPartCollection.cs
- StatusBar.cs
- GradientStop.cs
- EmptyQuery.cs
- AudienceUriMode.cs
- MultiTrigger.cs
- PropertyFilterAttribute.cs
- OpCodes.cs
- DataServiceException.cs
- TypedMessageConverter.cs
- XmlValidatingReaderImpl.cs
- panel.cs
- ColorPalette.cs
- WindowsServiceElement.cs
- IndividualDeviceConfig.cs
- TypeInformation.cs
- BufferedReadStream.cs
- DATA_BLOB.cs
- UnmanagedMemoryStream.cs
- RegexCode.cs
- ILGen.cs
- ExpandSegment.cs
- SlotInfo.cs
- PermissionAttributes.cs
- SystemIPGlobalProperties.cs
- ListenerElementsCollection.cs
- CallbackDebugBehavior.cs
- SecurityState.cs
- SqlServer2KCompatibilityAnnotation.cs
- cookiecontainer.cs
- DocumentReference.cs
- XsltSettings.cs
- sqlpipe.cs
- Comparer.cs
- FunctionParameter.cs
- EditorPartDesigner.cs
- ChannelFactory.cs
- Color.cs
- TypeConverterHelper.cs
- ReaderWriterLockWrapper.cs
- IgnoreFlushAndCloseStream.cs
- SiteMap.cs
- XPathSelfQuery.cs
- DocumentCollection.cs
- VisualStyleElement.cs
- ExpressionQuoter.cs
- ListBindableAttribute.cs
- Version.cs
- XmlReflectionImporter.cs
- XmlEntityReference.cs
- RequestBringIntoViewEventArgs.cs
- ServiceRouteHandler.cs
- TextUtf8RawTextWriter.cs
- DoubleLinkList.cs
- SqlServices.cs
- AdapterDictionary.cs
- Command.cs
- SqlDataSourceConnectionPanel.cs
- Assert.cs
- XDRSchema.cs
- BitmapEffectGeneralTransform.cs
- InfiniteIntConverter.cs
- BaseTemplateParser.cs
- AssociationEndMember.cs
- IListConverters.cs
- ThreadInterruptedException.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- Window.cs
- ClientFormsIdentity.cs
- MemoryFailPoint.cs
- RandomDelayQueuedSendsAsyncResult.cs
- MdiWindowListItemConverter.cs
- CodeDomConfigurationHandler.cs
- XPathDocumentBuilder.cs
- ConfigurationFileMap.cs
- UnsafeNativeMethods.cs
- CallbackValidatorAttribute.cs
- Token.cs