Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // 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. // 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
- Error.cs
- XmlSchemaValidator.cs
- ColorIndependentAnimationStorage.cs
- Enum.cs
- ServiceInfoCollection.cs
- CompositeCollection.cs
- PackageDigitalSignature.cs
- FixedLineResult.cs
- StreamInfo.cs
- TemplateXamlParser.cs
- DocComment.cs
- Size3DValueSerializer.cs
- NameSpaceEvent.cs
- ImageAttributes.cs
- BindingParameterCollection.cs
- CellTreeNode.cs
- ToolTip.cs
- NumericUpDown.cs
- VirtualizedCellInfoCollection.cs
- CompositeFontInfo.cs
- DataRelationPropertyDescriptor.cs
- ChildDocumentBlock.cs
- TreeNodeBindingDepthConverter.cs
- NumericPagerField.cs
- CharEntityEncoderFallback.cs
- CryptographicAttribute.cs
- RegisteredExpandoAttribute.cs
- TemplateInstanceAttribute.cs
- RegexStringValidatorAttribute.cs
- InitializingNewItemEventArgs.cs
- DropShadowEffect.cs
- SourceCollection.cs
- Math.cs
- Image.cs
- IntPtr.cs
- ComponentChangedEvent.cs
- HttpListenerContext.cs
- CurrentChangedEventManager.cs
- DataError.cs
- Binding.cs
- TypeLoadException.cs
- GC.cs
- ProfessionalColors.cs
- InvokeMemberBinder.cs
- DataGridRow.cs
- DataGridToolTip.cs
- ApplicationActivator.cs
- VariableDesigner.xaml.cs
- SchemaTableOptionalColumn.cs
- AtlasWeb.Designer.cs
- VerificationAttribute.cs
- ProviderCommandInfoUtils.cs
- TemplateColumn.cs
- WebPartEditorOkVerb.cs
- Sequence.cs
- ExitEventArgs.cs
- PerformanceCounterScope.cs
- DerivedKeySecurityTokenStub.cs
- HtmlTextArea.cs
- AddInIpcChannel.cs
- CreateUserWizardStep.cs
- TransportSecurityProtocolFactory.cs
- ListView.cs
- EmbeddedMailObjectsCollection.cs
- ObjRef.cs
- Block.cs
- RSACryptoServiceProvider.cs
- log.cs
- DetailsViewPageEventArgs.cs
- ToolStripGripRenderEventArgs.cs
- GridViewItemAutomationPeer.cs
- EventSinkHelperWriter.cs
- DocumentPaginator.cs
- Camera.cs
- Encoder.cs
- RuntimeConfigLKG.cs
- SelectingProviderEventArgs.cs
- PersonalizationStateInfo.cs
- XmlRawWriter.cs
- TypeSystem.cs
- CompositeScriptReferenceEventArgs.cs
- SqlParameterizer.cs
- NamespaceDisplayAutomationPeer.cs
- Object.cs
- TreeBuilder.cs
- Container.cs
- WebPartConnectVerb.cs
- TargetException.cs
- QuaternionConverter.cs
- ConfigurationStrings.cs
- FragmentNavigationEventArgs.cs
- Collection.cs
- TransformerInfoCollection.cs
- behaviorssection.cs
- HttpCachePolicyBase.cs
- UserControlAutomationPeer.cs
- ipaddressinformationcollection.cs
- EntityStoreSchemaFilterEntry.cs
- IDReferencePropertyAttribute.cs
- SettingsBindableAttribute.cs