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
- BaseCollection.cs
- GeometryValueSerializer.cs
- DataGridViewAccessibleObject.cs
- RuntimeHandles.cs
- PublisherMembershipCondition.cs
- HttpProfileBase.cs
- ObjectCloneHelper.cs
- compensatingcollection.cs
- RenderOptions.cs
- Publisher.cs
- DocumentGrid.cs
- ReadOnlyDataSourceView.cs
- RightsManagementInformation.cs
- WebPartCollection.cs
- DependencyPropertyKey.cs
- TextTreeRootTextBlock.cs
- CultureInfoConverter.cs
- EventPrivateKey.cs
- FloaterParaClient.cs
- SystemBrushes.cs
- MappingSource.cs
- x509utils.cs
- EntityParameter.cs
- RecognizerInfo.cs
- SamlAction.cs
- DbConnectionPoolGroupProviderInfo.cs
- CodeNamespace.cs
- PropertyGroupDescription.cs
- Color.cs
- SqlUnionizer.cs
- PageBuildProvider.cs
- BrowserCapabilitiesCodeGenerator.cs
- BaseCollection.cs
- TextCompositionManager.cs
- HttpHandlerAction.cs
- WebPartAddingEventArgs.cs
- ListItemParagraph.cs
- Timer.cs
- SystemResources.cs
- MultiView.cs
- BaseParaClient.cs
- DelegatingTypeDescriptionProvider.cs
- codemethodreferenceexpression.cs
- Int32RectConverter.cs
- BinaryOperationBinder.cs
- TableLayoutPanel.cs
- ThreadAttributes.cs
- XmlArrayAttribute.cs
- GridViewRow.cs
- SqlCachedBuffer.cs
- SqlStatistics.cs
- LongCountAggregationOperator.cs
- PropertyValueUIItem.cs
- MSHTMLHost.cs
- X509Utils.cs
- Keywords.cs
- NotifyInputEventArgs.cs
- Animatable.cs
- DictationGrammar.cs
- ErrorWebPart.cs
- ClientRuntimeConfig.cs
- RecognizeCompletedEventArgs.cs
- TextFormattingConverter.cs
- MetadataExchangeBindings.cs
- ChangePassword.cs
- HintTextConverter.cs
- SHA512Managed.cs
- ChannelBinding.cs
- ExtensibleClassFactory.cs
- SafeJobHandle.cs
- ActiveDocumentEvent.cs
- FixedSOMPageConstructor.cs
- ComponentEvent.cs
- WorkflowShape.cs
- PatternMatchRules.cs
- Component.cs
- SmtpNtlmAuthenticationModule.cs
- XmlSerializerFactory.cs
- AVElementHelper.cs
- DesignerActionKeyboardBehavior.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ReflectionTypeLoadException.cs
- DelayedRegex.cs
- IsolatedStorageFile.cs
- BitmapMetadataEnumerator.cs
- ITreeGenerator.cs
- GenericEnumConverter.cs
- DataGridViewCellCancelEventArgs.cs
- StorageEntityTypeMapping.cs
- DurableInstance.cs
- SystemThemeKey.cs
- ViewStateException.cs
- LinqDataView.cs
- WindowsSecurityTokenAuthenticator.cs
- XmlSiteMapProvider.cs
- Scripts.cs
- PtsCache.cs
- VisualTransition.cs
- JapaneseCalendar.cs
- PrimitiveDataContract.cs