Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / OverflowException.cs / 1 / OverflowException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: OverflowException ** ** ** Purpose: Exception class for Arthimatic Overflows. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class OverflowException : ArithmeticException { public OverflowException() : base(Environment.GetResourceString("Arg_OverflowException")) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OVERFLOW); } protected OverflowException(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: OverflowException ** ** ** Purpose: Exception class for Arthimatic Overflows. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class OverflowException : ArithmeticException { public OverflowException() : base(Environment.GetResourceString("Arg_OverflowException")) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OVERFLOW); } protected OverflowException(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
- DecoderNLS.cs
- WebPartDisplayMode.cs
- SingleAnimationBase.cs
- TableLayoutColumnStyleCollection.cs
- ClientTarget.cs
- QueryExpr.cs
- Zone.cs
- Rotation3D.cs
- TextElement.cs
- ManipulationLogic.cs
- HostedTransportConfigurationBase.cs
- DispatcherOperation.cs
- Sentence.cs
- PlainXmlDeserializer.cs
- CurrencyWrapper.cs
- ToolBar.cs
- bindurihelper.cs
- IPPacketInformation.cs
- TypeSystem.cs
- RsaSecurityToken.cs
- QilVisitor.cs
- MenuItemCollection.cs
- TextEndOfParagraph.cs
- ContextMenu.cs
- StyleHelper.cs
- XsltArgumentList.cs
- XmlAtomicValue.cs
- ToolStripContentPanel.cs
- TypefaceCollection.cs
- XmlSerializerAssemblyAttribute.cs
- CheckBoxField.cs
- PathFigure.cs
- TimelineGroup.cs
- ExpressionList.cs
- SqlError.cs
- LayoutUtils.cs
- TextClipboardData.cs
- TraceUtility.cs
- ConversionHelper.cs
- RuntimeIdentifierPropertyAttribute.cs
- DrawingGroup.cs
- _ChunkParse.cs
- XpsS0ValidatingLoader.cs
- TextTreePropertyUndoUnit.cs
- ConfigurationSettings.cs
- DocumentSequence.cs
- DisplayNameAttribute.cs
- InternalDuplexBindingElement.cs
- NativeMethods.cs
- OracleCommandSet.cs
- Focus.cs
- ReferenceAssemblyAttribute.cs
- Attributes.cs
- XmlValidatingReader.cs
- TreeViewAutomationPeer.cs
- FileUtil.cs
- SqlTransaction.cs
- UnknownExceptionActionHelper.cs
- AddInSegmentDirectoryNotFoundException.cs
- UpdatePanelControlTrigger.cs
- StrokeNodeOperations.cs
- AudioStateChangedEventArgs.cs
- EFDataModelProvider.cs
- ElementsClipboardData.cs
- NavigationFailedEventArgs.cs
- BitConverter.cs
- RawUIStateInputReport.cs
- Rss20FeedFormatter.cs
- SiteMapSection.cs
- InheritanceUI.cs
- ObjectDataSourceMethodEditor.cs
- PartBasedPackageProperties.cs
- TextSelectionHighlightLayer.cs
- ScaleTransform3D.cs
- HostingPreferredMapPath.cs
- DesignerVerbToolStripMenuItem.cs
- ToolboxComponentsCreatingEventArgs.cs
- MimePart.cs
- TextTreeRootNode.cs
- FreeIndexList.cs
- AccessText.cs
- _UriTypeConverter.cs
- UniqueEventHelper.cs
- CompilerCollection.cs
- StrokeSerializer.cs
- XappLauncher.cs
- SoapDocumentMethodAttribute.cs
- AppendHelper.cs
- XmlTextReaderImpl.cs
- DefaultSection.cs
- ExpressionVisitor.cs
- AttributeQuery.cs
- LayoutEngine.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- EditorPartChrome.cs
- ToolStripMenuItemDesigner.cs
- RunInstallerAttribute.cs
- InvokePattern.cs
- SplineQuaternionKeyFrame.cs
- TextEffect.cs