Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / OverflowException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- Deflater.cs
- MatrixTransform3D.cs
- DynamicPropertyHolder.cs
- FacetEnabledSchemaElement.cs
- MarkerProperties.cs
- SwitchLevelAttribute.cs
- TextPenaltyModule.cs
- InkSerializer.cs
- DataGridViewTopRowAccessibleObject.cs
- WindowCollection.cs
- SocketAddress.cs
- BindableTemplateBuilder.cs
- SspiHelper.cs
- ObjectAnimationUsingKeyFrames.cs
- HttpCookiesSection.cs
- QilLoop.cs
- QilValidationVisitor.cs
- CultureMapper.cs
- ItemCollection.cs
- XPathNode.cs
- SqlRemoveConstantOrderBy.cs
- CreateRefExpr.cs
- Message.cs
- EntityDataSourceView.cs
- ProcessModelSection.cs
- Options.cs
- DrawListViewItemEventArgs.cs
- WebAdminConfigurationHelper.cs
- MinMaxParagraphWidth.cs
- __ConsoleStream.cs
- PhysicalOps.cs
- TextFormatter.cs
- WebPartMinimizeVerb.cs
- RotateTransform.cs
- XmlTextEncoder.cs
- VerificationException.cs
- ScheduleChanges.cs
- DecoratedNameAttribute.cs
- UriSection.cs
- WebBrowsableAttribute.cs
- Command.cs
- PointKeyFrameCollection.cs
- OdbcException.cs
- VerticalAlignConverter.cs
- DbDataRecord.cs
- PointAnimationUsingKeyFrames.cs
- SerializationBinder.cs
- DbDataSourceEnumerator.cs
- FontFaceLayoutInfo.cs
- HighContrastHelper.cs
- BulletedList.cs
- XmlSchemaInfo.cs
- Vector3DAnimationBase.cs
- EncryptedPackage.cs
- AnimatedTypeHelpers.cs
- TreeNodeEventArgs.cs
- XmlSchemaAttributeGroupRef.cs
- GrammarBuilderBase.cs
- Tuple.cs
- TimeSpanSecondsConverter.cs
- Accessors.cs
- TreeIterator.cs
- DbProviderServices.cs
- FileLogRecord.cs
- ProjectionPath.cs
- Oid.cs
- TypeInitializationException.cs
- CompareValidator.cs
- GridViewSelectEventArgs.cs
- sitestring.cs
- OdbcException.cs
- FlowDocumentPageViewerAutomationPeer.cs
- SecurityException.cs
- SourceElementsCollection.cs
- SchemaInfo.cs
- EntityViewContainer.cs
- ChineseLunisolarCalendar.cs
- UpDownBase.cs
- Utility.cs
- OdbcConnectionOpen.cs
- AssemblyBuilder.cs
- NameValueConfigurationElement.cs
- InternalTypeHelper.cs
- DummyDataSource.cs
- SharedStatics.cs
- BamlCollectionHolder.cs
- GetCryptoTransformRequest.cs
- PenContexts.cs
- SystemDiagnosticsSection.cs
- RuleSettingsCollection.cs
- AvTraceFormat.cs
- HttpPostProtocolImporter.cs
- DataGridTableCollection.cs
- HttpDictionary.cs
- ReferenceEqualityComparer.cs
- QualifiedCellIdBoolean.cs
- CmsUtils.cs
- FlowDocumentView.cs
- SimpleTextLine.cs
- XPathAxisIterator.cs