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
- DataGridViewDesigner.cs
- BulletedList.cs
- ParameterCollection.cs
- QilList.cs
- IIS7WorkerRequest.cs
- ItemCheckEvent.cs
- XmlAnyAttributeAttribute.cs
- DataControlLinkButton.cs
- ChtmlCommandAdapter.cs
- DoubleCollectionConverter.cs
- DataBindingHandlerAttribute.cs
- ImpersonateTokenRef.cs
- EmptyCollection.cs
- DiscreteKeyFrames.cs
- PageRequestManager.cs
- Win32MouseDevice.cs
- RoutedEventHandlerInfo.cs
- ToolbarAUtomationPeer.cs
- FileDataSourceCache.cs
- DbSetClause.cs
- WebBrowserNavigatingEventHandler.cs
- ControlParser.cs
- IdnMapping.cs
- ExtensionWindow.cs
- EndpointFilterProvider.cs
- HtmlInputControl.cs
- WorkflowMarkupSerializationException.cs
- PageCatalogPartDesigner.cs
- TextSerializer.cs
- SqlConnectionFactory.cs
- RMEnrollmentPage1.cs
- ExclusiveHandle.cs
- UidPropertyAttribute.cs
- RowUpdatedEventArgs.cs
- UInt32Storage.cs
- WebBrowserProgressChangedEventHandler.cs
- TextLine.cs
- Emitter.cs
- ToolStripDropDownItem.cs
- Italic.cs
- FileChangeNotifier.cs
- ReadOnlyAttribute.cs
- DataControlReferenceCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- ReadOnlyDictionary.cs
- CngKeyBlobFormat.cs
- SqlParameterizer.cs
- SemanticKeyElement.cs
- ControlParameter.cs
- TrackingStringDictionary.cs
- NodeInfo.cs
- RtfToXamlReader.cs
- Floater.cs
- MetadataExchangeClient.cs
- EntityDataSourceView.cs
- FailedToStartupUIException.cs
- XamlClipboardData.cs
- ReferenceConverter.cs
- TdsEnums.cs
- OLEDB_Enum.cs
- TimeSpanConverter.cs
- WsrmTraceRecord.cs
- QilXmlReader.cs
- ProcessHostConfigUtils.cs
- LinkConverter.cs
- StreamAsIStream.cs
- DbProviderServices.cs
- SemanticBasicElement.cs
- DbDataReader.cs
- PropertyFilterAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- DerivedKeySecurityToken.cs
- SystemIcons.cs
- SqlNotificationEventArgs.cs
- DesigntimeLicenseContext.cs
- BrowserInteropHelper.cs
- ViewgenContext.cs
- ExtensibleClassFactory.cs
- IdnMapping.cs
- RNGCryptoServiceProvider.cs
- StateMachineWorkflowDesigner.cs
- Typography.cs
- PerformanceCounterLib.cs
- storagemappingitemcollection.viewdictionary.cs
- TypeConverterHelper.cs
- FactoryId.cs
- Int32AnimationUsingKeyFrames.cs
- NavigationHelper.cs
- JumpPath.cs
- TrueReadOnlyCollection.cs
- SimpleLine.cs
- DataTable.cs
- BamlVersionHeader.cs
- XmlDocumentSerializer.cs
- RuntimeUtils.cs
- Soap12ProtocolImporter.cs
- Cursor.cs
- BuildManagerHost.cs
- UshortList2.cs
- hresults.cs