Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- GradientBrush.cs
- HtmlUtf8RawTextWriter.cs
- ViewRendering.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- Durable.cs
- ManagementException.cs
- PerformanceCountersElement.cs
- SliderAutomationPeer.cs
- NegationPusher.cs
- WriteableOnDemandPackagePart.cs
- Vector.cs
- InstanceKeyView.cs
- DataGridViewBand.cs
- DoubleStorage.cs
- XamlStyleSerializer.cs
- ExpressionServices.cs
- StyleCollection.cs
- PerformanceCounterManager.cs
- ProxyAttribute.cs
- Vector.cs
- ObjectToIdCache.cs
- CodeVariableReferenceExpression.cs
- HttpResponseHeader.cs
- FontWeightConverter.cs
- securitycriticaldataformultiplegetandset.cs
- TemplatedMailWebEventProvider.cs
- DBDataPermissionAttribute.cs
- TextShapeableCharacters.cs
- HighlightComponent.cs
- ResourceExpression.cs
- TextAdaptor.cs
- ManagementOptions.cs
- DocumentXPathNavigator.cs
- InternalResources.cs
- ScrollableControlDesigner.cs
- PermissionAttributes.cs
- WebBrowserSiteBase.cs
- Compress.cs
- StateDesigner.CommentLayoutGlyph.cs
- CallInfo.cs
- SQLBinaryStorage.cs
- selecteditemcollection.cs
- MapPathBasedVirtualPathProvider.cs
- DataGridViewIntLinkedList.cs
- RectangleHotSpot.cs
- DesignColumn.cs
- DateTimeOffset.cs
- TableSectionStyle.cs
- Columns.cs
- Point.cs
- LineBreak.cs
- StringDictionaryWithComparer.cs
- ErrorTableItemStyle.cs
- ExplicitDiscriminatorMap.cs
- ObjectNavigationPropertyMapping.cs
- DataServiceEntityAttribute.cs
- TableItemPatternIdentifiers.cs
- ManagementNamedValueCollection.cs
- ConsumerConnectionPoint.cs
- ControlDesigner.cs
- BitmapEffectrendercontext.cs
- ProtocolsSection.cs
- UniformGrid.cs
- ContractReference.cs
- MsmqInputChannelListener.cs
- ListViewContainer.cs
- PathFigureCollectionConverter.cs
- MenuItemStyle.cs
- AnonymousIdentificationSection.cs
- ListControl.cs
- AddingNewEventArgs.cs
- PersistenceMetadataNamespace.cs
- GridView.cs
- MimeMultiPart.cs
- IntPtr.cs
- DataGridState.cs
- ModuleElement.cs
- RenderTargetBitmap.cs
- Maps.cs
- OleDbEnumerator.cs
- MatrixUtil.cs
- TypeGenericEnumerableViewSchema.cs
- CreationContext.cs
- QilUnary.cs
- newinstructionaction.cs
- SiteMapDataSourceDesigner.cs
- TextBoxAutoCompleteSourceConverter.cs
- TypeInfo.cs
- WindowsListView.cs
- ObjectMemberMapping.cs
- SqlConnectionPoolProviderInfo.cs
- HtmlElementEventArgs.cs
- SecurityListenerSettingsLifetimeManager.cs
- SemanticResultValue.cs
- Int64AnimationUsingKeyFrames.cs
- UnsafeNativeMethods.cs
- XmlSchemaAnnotated.cs
- OciLobLocator.cs
- OdbcConnectionStringbuilder.cs
- GregorianCalendarHelper.cs