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
- VectorAnimation.cs
- TextTreeTextBlock.cs
- WindowsSolidBrush.cs
- TdsValueSetter.cs
- NotifyIcon.cs
- webproxy.cs
- KeyEventArgs.cs
- Oid.cs
- MessageVersionConverter.cs
- BaseCollection.cs
- AsymmetricAlgorithm.cs
- TextStore.cs
- StringExpressionSet.cs
- StackSpiller.Bindings.cs
- XmlIlVisitor.cs
- PropertyOverridesDialog.cs
- CancelAsyncOperationRequest.cs
- ElementHostAutomationPeer.cs
- TextLineResult.cs
- WaitHandle.cs
- SafeCryptoHandles.cs
- CodeTypeConstructor.cs
- XpsResourcePolicy.cs
- ToggleProviderWrapper.cs
- PrimitiveType.cs
- StorageAssociationSetMapping.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- X509Chain.cs
- ReverseInheritProperty.cs
- AuthenticationManager.cs
- InkSerializer.cs
- ProxyAttribute.cs
- CodeBinaryOperatorExpression.cs
- WindowsIdentity.cs
- NavigationPropertyEmitter.cs
- DbProviderFactoriesConfigurationHandler.cs
- MobileUserControlDesigner.cs
- DoubleConverter.cs
- AspNetCompatibilityRequirementsAttribute.cs
- graph.cs
- Latin1Encoding.cs
- EntityClassGenerator.cs
- RichTextBox.cs
- SocketElement.cs
- XmlSchemaExporter.cs
- EventManager.cs
- RunWorkerCompletedEventArgs.cs
- WebPartUtil.cs
- ReadOnlyTernaryTree.cs
- AsymmetricSignatureFormatter.cs
- Compiler.cs
- TypeSource.cs
- DataListItemCollection.cs
- _LocalDataStore.cs
- LocationEnvironment.cs
- ReadOnlyTernaryTree.cs
- ViewCellSlot.cs
- TypefaceMetricsCache.cs
- RuntimeVariableList.cs
- ExclusiveTcpListener.cs
- securitycriticaldata.cs
- AttributeCollection.cs
- TreeNodeConverter.cs
- ToolStripProgressBar.cs
- DataGridViewComboBoxCell.cs
- CanonicalXml.cs
- ContextItem.cs
- RegistrySecurity.cs
- TextPointer.cs
- CollectionConverter.cs
- TemplateParser.cs
- InvalidDataException.cs
- EditingCommands.cs
- PropertyMappingExceptionEventArgs.cs
- HttpStreamXmlDictionaryWriter.cs
- ConsoleCancelEventArgs.cs
- XPathDocumentIterator.cs
- ListViewPagedDataSource.cs
- WorkflowTerminatedException.cs
- SystemWebExtensionsSectionGroup.cs
- PeerNameRegistration.cs
- DefaultTextStoreTextComposition.cs
- MarginsConverter.cs
- DropDownButton.cs
- TextViewBase.cs
- EntityStoreSchemaGenerator.cs
- TreeNodeStyleCollection.cs
- SafeTokenHandle.cs
- ProfileService.cs
- RecognitionEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- SafeHandle.cs
- ReachVisualSerializer.cs
- SHA1Managed.cs
- ResourceCollectionInfo.cs
- MouseBinding.cs
- VSWCFServiceContractGenerator.cs
- DataGridSortCommandEventArgs.cs
- SingleResultAttribute.cs
- AddInActivator.cs