Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeoutException.cs
- Processor.cs
- RulePatternOps.cs
- ActivityBindForm.Designer.cs
- TagMapCollection.cs
- HandledMouseEvent.cs
- DataGridCaption.cs
- recordstatefactory.cs
- IgnoreDeviceFilterElementCollection.cs
- ProtectedProviderSettings.cs
- ContainerParagraph.cs
- UnmanagedMarshal.cs
- SchemaContext.cs
- FontSizeConverter.cs
- DataContractSerializerServiceBehavior.cs
- ServiceOperation.cs
- StructuralType.cs
- PaginationProgressEventArgs.cs
- ServiceObjectContainer.cs
- SemanticResolver.cs
- SmiRequestExecutor.cs
- RetriableClipboard.cs
- InstanceDataCollection.cs
- TypedReference.cs
- InstanceDataCollection.cs
- CompilerTypeWithParams.cs
- TreeViewAutomationPeer.cs
- CompilerCollection.cs
- ExpressionBinding.cs
- BitmapPalette.cs
- EDesignUtil.cs
- XamlWriter.cs
- CheckedListBox.cs
- ScrollBar.cs
- TagMapCollection.cs
- SafeRegistryHandle.cs
- VirtualPathProvider.cs
- PropertyDescriptor.cs
- SafeEventLogReadHandle.cs
- DataBindingCollection.cs
- CodeTypeDeclaration.cs
- _ListenerResponseStream.cs
- XmlAnyElementAttribute.cs
- KeyInterop.cs
- SignatureConfirmations.cs
- SystemIPv4InterfaceProperties.cs
- PersonalizationStateInfo.cs
- ApplicationSecurityManager.cs
- FrameworkElementAutomationPeer.cs
- Transform3D.cs
- AssemblyAttributes.cs
- DataGridAutoFormatDialog.cs
- SignatureToken.cs
- Menu.cs
- SchemeSettingElement.cs
- Vector3DCollectionConverter.cs
- ContainerUtilities.cs
- CodeGotoStatement.cs
- DocumentCollection.cs
- JavaScriptSerializer.cs
- CorrelationToken.cs
- UpDownEvent.cs
- NavigationProperty.cs
- PresentationAppDomainManager.cs
- basevalidator.cs
- FontFamily.cs
- AspProxy.cs
- SqlRowUpdatedEvent.cs
- PerfCounterSection.cs
- MouseCaptureWithinProperty.cs
- SystemColors.cs
- BitArray.cs
- SmiContext.cs
- CapiNative.cs
- UIntPtr.cs
- PassportPrincipal.cs
- __Error.cs
- SqlXml.cs
- DataGridComboBoxColumn.cs
- SessionIDManager.cs
- ProcessHostMapPath.cs
- WindowsIdentity.cs
- WsdlBuildProvider.cs
- RelationshipWrapper.cs
- QueryStatement.cs
- InstanceKey.cs
- Int32Rect.cs
- AssociationSetMetadata.cs
- input.cs
- Semaphore.cs
- InheritanceAttribute.cs
- RegexMatch.cs
- CookieParameter.cs
- BindingMAnagerBase.cs
- SerTrace.cs
- Number.cs
- ObjRef.cs
- XmlName.cs
- OutArgumentConverter.cs
- Bits.cs