Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebServiceReceiveDesigner.cs
- ToolStripCodeDomSerializer.cs
- ToolBarPanel.cs
- EntitySqlQueryBuilder.cs
- UInt32Storage.cs
- StaticFileHandler.cs
- TrackingMemoryStreamFactory.cs
- IconBitmapDecoder.cs
- CustomCategoryAttribute.cs
- Math.cs
- NativeBuffer.cs
- KnownTypesProvider.cs
- WinEventHandler.cs
- FlowPanelDesigner.cs
- RouteParser.cs
- ContentHostHelper.cs
- SerializableTypeCodeDomSerializer.cs
- Int64AnimationBase.cs
- DependencyObjectProvider.cs
- Rotation3DAnimation.cs
- XmlReaderSettings.cs
- DocumentViewer.cs
- DispatchChannelSink.cs
- HttpMethodAttribute.cs
- TableLayoutSettingsTypeConverter.cs
- odbcmetadatacollectionnames.cs
- ComponentChangedEvent.cs
- XmlSchemaGroup.cs
- HttpValueCollection.cs
- CodeDelegateInvokeExpression.cs
- _BaseOverlappedAsyncResult.cs
- HtmlInputSubmit.cs
- FormParameter.cs
- SQLInt64Storage.cs
- TemplateEditingService.cs
- ByteAnimation.cs
- StrongNameHelpers.cs
- SerializationFieldInfo.cs
- TreeNodeCollection.cs
- PinnedBufferMemoryStream.cs
- SqlInfoMessageEvent.cs
- SystemIPv4InterfaceProperties.cs
- GlobalizationSection.cs
- ExpressionConverter.cs
- PropertyContainer.cs
- IResourceProvider.cs
- ClockGroup.cs
- EntityDataSourceMemberPath.cs
- SoapSchemaImporter.cs
- FontInfo.cs
- XMLDiffLoader.cs
- LOSFormatter.cs
- TextSchema.cs
- Expressions.cs
- CrossAppDomainChannel.cs
- securitycriticaldataformultiplegetandset.cs
- EncoderExceptionFallback.cs
- InlineCollection.cs
- WindowsAuthenticationModule.cs
- WebPartMovingEventArgs.cs
- LinkLabel.cs
- XmlSchemaInclude.cs
- ToolStripItemRenderEventArgs.cs
- Rectangle.cs
- UriScheme.cs
- CodeNamespace.cs
- TextElementEnumerator.cs
- TimersDescriptionAttribute.cs
- CryptoSession.cs
- CheckBoxList.cs
- WorkflowRuntimeBehavior.cs
- Section.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- XmlTypeMapping.cs
- InheritanceContextHelper.cs
- LocalServiceSecuritySettings.cs
- Array.cs
- X509Certificate2Collection.cs
- StrongTypingException.cs
- PageHandlerFactory.cs
- TreeViewDesigner.cs
- ArraySet.cs
- DataGridComponentEditor.cs
- datacache.cs
- PointCollection.cs
- InstanceKeyNotReadyException.cs
- ProviderConnectionPointCollection.cs
- AsyncPostBackErrorEventArgs.cs
- ContextDataSourceView.cs
- Utilities.cs
- Types.cs
- designeractionbehavior.cs
- QilValidationVisitor.cs
- TransformerTypeCollection.cs
- XmlDesignerDataSourceView.cs
- OperandQuery.cs
- HttpCacheParams.cs
- OracleCommandBuilder.cs
- LassoSelectionBehavior.cs
- OutputCacheModule.cs