Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- UInt32Converter.cs
- CodeStatement.cs
- AuthorizationSection.cs
- ScriptResourceHandler.cs
- BitConverter.cs
- FilteredDataSetHelper.cs
- StaticExtensionConverter.cs
- MSHTMLHostUtil.cs
- SqlNodeAnnotation.cs
- QueryContinueDragEvent.cs
- ToolStripItemImageRenderEventArgs.cs
- PasswordRecoveryAutoFormat.cs
- ParseHttpDate.cs
- SecurityKeyIdentifier.cs
- UpdateRecord.cs
- AccessDataSource.cs
- ValueQuery.cs
- MetadataItem.cs
- CodeStatement.cs
- TaskHelper.cs
- FontDialog.cs
- Rectangle.cs
- References.cs
- ObjectDisposedException.cs
- Char.cs
- XPathNodeList.cs
- VisualBrush.cs
- HyperLinkColumn.cs
- CompiledRegexRunner.cs
- InternalConfigHost.cs
- StyleBamlTreeBuilder.cs
- HwndHost.cs
- ViewStateException.cs
- DtcInterfaces.cs
- SignedPkcs7.cs
- NavigationEventArgs.cs
- embossbitmapeffect.cs
- SendKeys.cs
- RecordBuilder.cs
- ResponseStream.cs
- ApplicationId.cs
- HttpDebugHandler.cs
- QilBinary.cs
- ZipIOModeEnforcingStream.cs
- ObjectQuery.cs
- PassportPrincipal.cs
- TdsParameterSetter.cs
- LocatorPartList.cs
- TypedReference.cs
- PasswordDeriveBytes.cs
- CfgArc.cs
- AddInToken.cs
- IndentedWriter.cs
- PathStreamGeometryContext.cs
- Attributes.cs
- Mappings.cs
- DispatcherOperation.cs
- SQLStringStorage.cs
- XmlHierarchicalEnumerable.cs
- KeyGestureValueSerializer.cs
- ActivityFunc.cs
- WindowsScrollBar.cs
- HierarchicalDataBoundControlAdapter.cs
- IsolatedStorageFileStream.cs
- GraphicsContainer.cs
- NativeMethods.cs
- FlowDocumentPageViewerAutomationPeer.cs
- HierarchicalDataBoundControl.cs
- InputLanguage.cs
- PointLight.cs
- StateBag.cs
- MissingManifestResourceException.cs
- SystemFonts.cs
- WsatServiceAddress.cs
- _AutoWebProxyScriptWrapper.cs
- TreeNodeMouseHoverEvent.cs
- SmtpDigestAuthenticationModule.cs
- JsonDeserializer.cs
- SafeWaitHandle.cs
- Pkcs7Signer.cs
- MetafileHeaderWmf.cs
- RotateTransform.cs
- SafeNativeMethods.cs
- TrackingExtract.cs
- GridView.cs
- DataGridParentRows.cs
- TriState.cs
- ReferentialConstraint.cs
- AnalyzedTree.cs
- WebPartManagerInternals.cs
- ProtocolElementCollection.cs
- PropertySourceInfo.cs
- XmlWellformedWriter.cs
- IsolatedStorageFileStream.cs
- ScriptResourceInfo.cs
- View.cs
- ObjectDataSourceDisposingEventArgs.cs
- WorkflowServiceHostFactory.cs
- WithStatement.cs
- DiscoveryMessageProperty.cs