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
- ErasingStroke.cs
- DataControlCommands.cs
- FieldInfo.cs
- MembershipPasswordException.cs
- ReflectionServiceProvider.cs
- ReadOnlyNameValueCollection.cs
- FactorySettingsElement.cs
- KeyInterop.cs
- AppSettingsSection.cs
- SecurityTokenResolver.cs
- EventRoute.cs
- DocumentDesigner.cs
- XmlAtomicValue.cs
- EncodingTable.cs
- ConfigXmlText.cs
- wgx_render.cs
- SynchronizedDispatch.cs
- TargetException.cs
- WizardStepBase.cs
- ProgressChangedEventArgs.cs
- DataSvcMapFile.cs
- Vector3dCollection.cs
- PasswordValidationException.cs
- ServicePoint.cs
- DispatcherFrame.cs
- StaticExtensionConverter.cs
- PrintPreviewDialog.cs
- PropertyChangedEventArgs.cs
- UnmanagedMemoryStream.cs
- InputMethod.cs
- OutgoingWebRequestContext.cs
- WebDisplayNameAttribute.cs
- LayoutEngine.cs
- FixedTextView.cs
- GeometryGroup.cs
- ObjectFullSpanRewriter.cs
- UriExt.cs
- ApplicationBuildProvider.cs
- Pen.cs
- EditorZoneBase.cs
- ArrayWithOffset.cs
- TextEditorCharacters.cs
- ServicePointManagerElement.cs
- Quaternion.cs
- XmlSchemaSimpleTypeUnion.cs
- TextSerializer.cs
- LabelLiteral.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- CertificateReferenceElement.cs
- DynamicQueryableWrapper.cs
- TreeWalker.cs
- SubMenuStyleCollection.cs
- NativeMethodsCLR.cs
- FileRecordSequenceHelper.cs
- CompModHelpers.cs
- BackgroundWorker.cs
- UrlMapping.cs
- XmlWrappingWriter.cs
- DrawingState.cs
- BmpBitmapDecoder.cs
- SimplePropertyEntry.cs
- XmlSchemaAnnotated.cs
- XPathScanner.cs
- XPathNodeInfoAtom.cs
- StringTraceRecord.cs
- HttpWriter.cs
- FormsAuthentication.cs
- Frame.cs
- Timer.cs
- SqlGenericUtil.cs
- PresentationSource.cs
- DbParameterCollection.cs
- ServiceDescriptionReflector.cs
- EntityViewGenerator.cs
- IisTraceWebEventProvider.cs
- DbMetaDataCollectionNames.cs
- BindingContext.cs
- WebSysDescriptionAttribute.cs
- PointAnimation.cs
- SchemaHelper.cs
- AttributeCollection.cs
- odbcmetadatacolumnnames.cs
- PageEventArgs.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- LoginView.cs
- Point3DCollectionValueSerializer.cs
- TdsParserSafeHandles.cs
- ExpandCollapsePattern.cs
- KeyValueInternalCollection.cs
- FlowNode.cs
- ListView.cs
- ClientApiGenerator.cs
- HtmlInputCheckBox.cs
- XamlHostingConfiguration.cs
- UseLicense.cs
- Selection.cs
- BinaryReader.cs
- DockPanel.cs
- DataSourceHelper.cs
- PathGradientBrush.cs