Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RightsManagementResourceHelper.cs
- ToolStripArrowRenderEventArgs.cs
- WizardStepBase.cs
- DataServices.cs
- AffineTransform3D.cs
- RemotingException.cs
- VSWCFServiceContractGenerator.cs
- PagesChangedEventArgs.cs
- ButtonRenderer.cs
- Canvas.cs
- PasswordPropertyTextAttribute.cs
- DesignOnlyAttribute.cs
- GlyphsSerializer.cs
- ConfigXmlComment.cs
- SQLMoneyStorage.cs
- ScriptHandlerFactory.cs
- WindowInteractionStateTracker.cs
- Model3D.cs
- EntityViewGenerator.cs
- CollectionViewSource.cs
- SourceElementsCollection.cs
- SurrogateEncoder.cs
- ImportCatalogPart.cs
- XmlJsonWriter.cs
- ToolStripPanelRow.cs
- InplaceBitmapMetadataWriter.cs
- PointLight.cs
- TextProperties.cs
- ApplicationSettingsBase.cs
- ProviderBase.cs
- DbConnectionPoolCounters.cs
- WorkItem.cs
- ItemDragEvent.cs
- TdsParserSessionPool.cs
- x509store.cs
- ObjectToModelValueConverter.cs
- ExpandButtonVisibilityConverter.cs
- BackStopAuthenticationModule.cs
- ExtractorMetadata.cs
- GPRECTF.cs
- ISO2022Encoding.cs
- Site.cs
- NullableBoolConverter.cs
- MobileControlsSectionHandler.cs
- ModuleConfigurationInfo.cs
- AppSecurityManager.cs
- _SslState.cs
- ErrorRuntimeConfig.cs
- StaticExtension.cs
- TraceHandlerErrorFormatter.cs
- DeploymentSection.cs
- SafeNativeMethods.cs
- CompositeControlDesigner.cs
- OperationResponse.cs
- PlainXmlSerializer.cs
- MasterPageBuildProvider.cs
- BrowserCapabilitiesFactory.cs
- HandlerWithFactory.cs
- ReceiveActivityDesignerTheme.cs
- FileSecurity.cs
- ExceptionValidationRule.cs
- QuestionEventArgs.cs
- XmlSerializerSection.cs
- TcpHostedTransportConfiguration.cs
- SmtpNetworkElement.cs
- RefreshEventArgs.cs
- RawStylusInputCustomDataList.cs
- ModelItemDictionaryImpl.cs
- CheckBox.cs
- ComponentFactoryHelpers.cs
- ChtmlMobileTextWriter.cs
- EventNotify.cs
- SqlClientPermission.cs
- ACL.cs
- SHA384.cs
- HashHelper.cs
- Operators.cs
- HtmlInputSubmit.cs
- GroupDescription.cs
- AppLevelCompilationSectionCache.cs
- HandleRef.cs
- StyleCollection.cs
- SubpageParaClient.cs
- Utils.cs
- PartialToken.cs
- XamlToRtfWriter.cs
- DataReaderContainer.cs
- LineVisual.cs
- DesignerVerb.cs
- Parser.cs
- LogLogRecordEnumerator.cs
- UnaryExpressionHelper.cs
- AsymmetricSignatureDeformatter.cs
- ListenerTraceUtility.cs
- StringUtil.cs
- EntityConnection.cs
- OrderByBuilder.cs
- EntityCollection.cs
- DefaultValueAttribute.cs
- ParserStack.cs