Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- FlowDocumentPageViewerAutomationPeer.cs
- ButtonStandardAdapter.cs
- Root.cs
- StylusCollection.cs
- URLAttribute.cs
- ColumnResizeUndoUnit.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Quad.cs
- ResXBuildProvider.cs
- IsolatedStorageFileStream.cs
- XmlAtomicValue.cs
- OleDbMetaDataFactory.cs
- DefaultExpression.cs
- EventItfInfo.cs
- Pair.cs
- TransformProviderWrapper.cs
- ProviderUtil.cs
- FlowDocumentReaderAutomationPeer.cs
- EntityKey.cs
- ToolStripComboBox.cs
- ExpressionsCollectionEditor.cs
- ToolStripPanelRenderEventArgs.cs
- WeakReference.cs
- HttpResponseHeader.cs
- LogStore.cs
- Base64Stream.cs
- sqlmetadatafactory.cs
- MaterializeFromAtom.cs
- WmpBitmapEncoder.cs
- _IPv4Address.cs
- WorkflowDefinitionDispenser.cs
- WS2007FederationHttpBindingCollectionElement.cs
- ClientSession.cs
- ProjectionPruner.cs
- StrokeNodeEnumerator.cs
- WaitHandle.cs
- PropertyCollection.cs
- SmiTypedGetterSetter.cs
- MDIClient.cs
- FieldTemplateUserControl.cs
- Size3D.cs
- DataViewSetting.cs
- WindowsSysHeader.cs
- DataControlField.cs
- HealthMonitoringSectionHelper.cs
- AsyncOperationContext.cs
- RowToFieldTransformer.cs
- RetrieveVirtualItemEventArgs.cs
- ExecutedRoutedEventArgs.cs
- AttributeEmitter.cs
- OverflowException.cs
- RewritingSimplifier.cs
- SocketException.cs
- UrlPath.cs
- Event.cs
- DocumentViewerConstants.cs
- NativeRecognizer.cs
- GridViewEditEventArgs.cs
- SystemEvents.cs
- UnsafeNativeMethodsPenimc.cs
- DbConvert.cs
- InstanceNotFoundException.cs
- webeventbuffer.cs
- SchemaConstraints.cs
- SecurityKeyIdentifier.cs
- ToolStripPanelSelectionBehavior.cs
- ToolStripStatusLabel.cs
- XmlTypeMapping.cs
- ScriptingRoleServiceSection.cs
- Duration.cs
- LabelInfo.cs
- PrePostDescendentsWalker.cs
- BasicKeyConstraint.cs
- RubberbandSelector.cs
- PropertyDescriptorCollection.cs
- ContactManager.cs
- CustomError.cs
- ConfigurationProperty.cs
- KeyNotFoundException.cs
- ComMethodElement.cs
- EncoderFallback.cs
- _WinHttpWebProxyDataBuilder.cs
- BufferedGraphicsManager.cs
- FederatedMessageSecurityOverHttp.cs
- RowToParametersTransformer.cs
- SQLMoney.cs
- SolidColorBrush.cs
- SHA256.cs
- CompiledRegexRunnerFactory.cs
- InputScope.cs
- WindowsStartMenu.cs
- Facet.cs
- QilReference.cs
- PenThreadPool.cs
- XmlValidatingReader.cs
- WebBrowserDocumentCompletedEventHandler.cs
- NotifyParentPropertyAttribute.cs
- _NestedSingleAsyncResult.cs
- SQLRoleProvider.cs
- SafeNativeMethodsMilCoreApi.cs