Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / DivideByZeroException.cs / 1305376 / DivideByZeroException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: DivideByZeroException ** ** ** Purpose: Exception class for bad arithmetic conditions! ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class DivideByZeroException : ArithmeticException { public DivideByZeroException() : base(Environment.GetResourceString("Arg_DivideByZero")) { SetErrorCode(__HResults.COR_E_DIVIDEBYZERO); } public DivideByZeroException(String message) : base(message) { SetErrorCode(__HResults.COR_E_DIVIDEBYZERO); } public DivideByZeroException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_DIVIDEBYZERO); } [System.Security.SecuritySafeCritical] // auto-generated protected DivideByZeroException(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
- PropertyItemInternal.cs
- DbProviderSpecificTypePropertyAttribute.cs
- IisTraceListener.cs
- ZipIOCentralDirectoryBlock.cs
- GridViewCellAutomationPeer.cs
- StatusStrip.cs
- Tile.cs
- TextTreeRootTextBlock.cs
- AsyncMethodInvoker.cs
- ListMarkerSourceInfo.cs
- ObjectNavigationPropertyMapping.cs
- infer.cs
- TextSelectionHelper.cs
- EntityException.cs
- HttpCacheParams.cs
- LineProperties.cs
- DataControlFieldHeaderCell.cs
- ImmComposition.cs
- XPathNavigatorReader.cs
- RMPublishingDialog.cs
- documentation.cs
- CopyOfAction.cs
- DoubleConverter.cs
- SymLanguageType.cs
- CellQuery.cs
- CustomErrorsSection.cs
- TextRangeEditLists.cs
- DynamicResourceExtensionConverter.cs
- ScopeElement.cs
- InlineObject.cs
- mil_commands.cs
- UserInitiatedNavigationPermission.cs
- UntypedNullExpression.cs
- SQLCharsStorage.cs
- NativeMethods.cs
- RemotingException.cs
- CacheEntry.cs
- SettingsPropertyValue.cs
- CursorConverter.cs
- X509ChainPolicy.cs
- CodeDOMProvider.cs
- PersonalizationStateInfo.cs
- SimplePropertyEntry.cs
- TextWriter.cs
- SafeHandle.cs
- CmsUtils.cs
- PageVisual.cs
- _UriSyntax.cs
- IdentityManager.cs
- CurrentTimeZone.cs
- ToggleButtonAutomationPeer.cs
- arc.cs
- PipeStream.cs
- BindingSource.cs
- Point3D.cs
- SqlMethodTransformer.cs
- ListViewItem.cs
- DataGridViewTextBoxColumn.cs
- StylusButton.cs
- X509AsymmetricSecurityKey.cs
- FtpWebResponse.cs
- XPathDocumentNavigator.cs
- View.cs
- TextTrailingCharacterEllipsis.cs
- SmiTypedGetterSetter.cs
- CharacterString.cs
- XmlElementAttributes.cs
- SessionState.cs
- XamlTemplateSerializer.cs
- CredentialCache.cs
- AsyncResult.cs
- TagMapCollection.cs
- ActivityDesignerHighlighter.cs
- MouseCaptureWithinProperty.cs
- NoneExcludedImageIndexConverter.cs
- DEREncoding.cs
- UriSection.cs
- Error.cs
- CheckBox.cs
- CodeTypeParameterCollection.cs
- SR.cs
- HtmlGenericControl.cs
- RadioButton.cs
- ProviderConnectionPoint.cs
- processwaithandle.cs
- TempEnvironment.cs
- DSACryptoServiceProvider.cs
- Choices.cs
- RoutedUICommand.cs
- ComponentCollection.cs
- PolicyDesigner.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- DesignTimeVisibleAttribute.cs
- TableLayoutSettings.cs
- SamlEvidence.cs
- Thread.cs
- SemanticResultValue.cs
- SkipQueryOptionExpression.cs
- FormViewInsertEventArgs.cs
- ConfigurationStrings.cs