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
- PriorityRange.cs
- TemplateModeChangedEventArgs.cs
- XmlAttributeCollection.cs
- ExecutorLocksHeldException.cs
- SafeBuffer.cs
- Positioning.cs
- SafePointer.cs
- PropertyTabAttribute.cs
- AutoCompleteStringCollection.cs
- MemberAssignment.cs
- RepeatBehavior.cs
- TargetFrameworkAttribute.cs
- SecurityElement.cs
- SecureStringHasher.cs
- RequiredFieldValidator.cs
- TextStore.cs
- CommandEventArgs.cs
- HttpCookieCollection.cs
- Parser.cs
- TemplateControlBuildProvider.cs
- ContactManager.cs
- SafeNativeMethods.cs
- PeerCollaborationPermission.cs
- MdiWindowListItemConverter.cs
- ScriptingProfileServiceSection.cs
- shaper.cs
- CompilerState.cs
- TransactionFlowBindingElement.cs
- WebCategoryAttribute.cs
- remotingproxy.cs
- EndpointIdentityConverter.cs
- XmlDataLoader.cs
- SQLBoolean.cs
- TraceLevelHelper.cs
- BinaryVersion.cs
- CacheAxisQuery.cs
- AddressAccessDeniedException.cs
- ProxyWebPartConnectionCollection.cs
- DrawingAttributeSerializer.cs
- AdRotator.cs
- PopOutPanel.cs
- ListItemParagraph.cs
- ResourceAssociationSetEnd.cs
- DefaultSerializationProviderAttribute.cs
- ConnectionStringsSection.cs
- ContourSegment.cs
- DelegateTypeInfo.cs
- XmlDataSourceNodeDescriptor.cs
- AnnotationObservableCollection.cs
- SQLInt64Storage.cs
- ImpersonateTokenRef.cs
- ToolStripLocationCancelEventArgs.cs
- ConstantProjectedSlot.cs
- SizeChangedEventArgs.cs
- Msec.cs
- WebPartDisplayModeCancelEventArgs.cs
- SafeReversePInvokeHandle.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- PointLight.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DefaultClaimSet.cs
- LostFocusEventManager.cs
- SerializationStore.cs
- HttpHandlerActionCollection.cs
- DesignerHelpers.cs
- WmfPlaceableFileHeader.cs
- LinearGradientBrush.cs
- ActivatableWorkflowsQueryResult.cs
- _OSSOCK.cs
- OperationCanceledException.cs
- SqlTypeConverter.cs
- MenuItemBindingCollection.cs
- LassoSelectionBehavior.cs
- NameSpaceEvent.cs
- ModuleConfigurationInfo.cs
- NumericUpDownAcceleration.cs
- XmlIncludeAttribute.cs
- HwndSourceKeyboardInputSite.cs
- PackageStore.cs
- SocketAddress.cs
- IOThreadTimer.cs
- TransformPattern.cs
- InputBinding.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SatelliteContractVersionAttribute.cs
- oledbmetadatacollectionnames.cs
- UnsafeNativeMethods.cs
- ValueTypeFieldReference.cs
- GPRECTF.cs
- CopyOnWriteList.cs
- Type.cs
- QueryParameter.cs
- LocatorGroup.cs
- BeginStoryboard.cs
- ControlIdConverter.cs
- CreateUserWizardStep.cs
- StylusPointCollection.cs
- StringStorage.cs
- TextComposition.cs
- WindowsTab.cs