Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BaseParagraph.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ValidationEventArgs.cs
- HashCodeCombiner.cs
- HtmlInputHidden.cs
- HierarchicalDataSourceControl.cs
- ChannelServices.cs
- SuppressIldasmAttribute.cs
- StickyNote.cs
- QilReference.cs
- EntityKeyElement.cs
- SecurityElement.cs
- CustomCategoryAttribute.cs
- PaperSource.cs
- JsonObjectDataContract.cs
- ValueProviderWrapper.cs
- ImageList.cs
- StateValidator.cs
- DataServiceBehavior.cs
- EntityConnectionStringBuilder.cs
- QueryReaderSettings.cs
- AssociationSetMetadata.cs
- ResXFileRef.cs
- JsonReader.cs
- EventRecordWrittenEventArgs.cs
- PropertyTabChangedEvent.cs
- DocumentPageView.cs
- CollectionChange.cs
- ConfigurationStrings.cs
- TreeIterator.cs
- TextBoxLine.cs
- LinearKeyFrames.cs
- SolidColorBrush.cs
- ExternalException.cs
- MetabaseServerConfig.cs
- RotateTransform3D.cs
- SevenBitStream.cs
- Byte.cs
- GridViewColumn.cs
- CellConstantDomain.cs
- ComAwareEventInfo.cs
- XmlILIndex.cs
- PackageDigitalSignatureManager.cs
- EventHandlersStore.cs
- MatrixTransform3D.cs
- DeclarationUpdate.cs
- WebUtility.cs
- CommonGetThemePartSize.cs
- EmptyCollection.cs
- Range.cs
- SamlSubjectStatement.cs
- GlyphRunDrawing.cs
- HtmlWindow.cs
- SudsCommon.cs
- DashStyle.cs
- ExternalException.cs
- MetroSerializationManager.cs
- BamlLocalizer.cs
- MemberHolder.cs
- XPathExpr.cs
- RuntimeVariablesExpression.cs
- PolyLineSegmentFigureLogic.cs
- PropertyRef.cs
- HistoryEventArgs.cs
- FixedSchema.cs
- AppSettingsSection.cs
- UniqueSet.cs
- ObjectReaderCompiler.cs
- ResourcePermissionBaseEntry.cs
- CommandField.cs
- ListViewItemSelectionChangedEvent.cs
- CfgParser.cs
- DockPattern.cs
- FontDriver.cs
- _DomainName.cs
- AsyncOperationManager.cs
- TemplateBindingExpressionConverter.cs
- DispatcherProcessingDisabled.cs
- SecurityTokenException.cs
- RoleGroupCollection.cs
- MenuAutomationPeer.cs
- StagingAreaInputItem.cs
- SQLInt32.cs
- Point.cs
- CustomErrorsSection.cs
- TraceLog.cs
- LayoutSettings.cs
- CurrentTimeZone.cs
- FrameSecurityDescriptor.cs
- ToolStripContainerActionList.cs
- FontStretch.cs
- VariableDesigner.xaml.cs
- LongAverageAggregationOperator.cs
- Message.cs
- StopStoryboard.cs
- Padding.cs
- EncoderReplacementFallback.cs
- HGlobalSafeHandle.cs
- CompressionTransform.cs
- OdbcErrorCollection.cs