Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / DivideByZeroException.cs / 1 / 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); } protected DivideByZeroException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DeviceContexts.cs
- ControlValuePropertyAttribute.cs
- GCHandleCookieTable.cs
- PasswordBox.cs
- MachineSettingsSection.cs
- XmlSchemaImporter.cs
- CacheHelper.cs
- SqlCommandSet.cs
- NamespaceList.cs
- SapiRecoContext.cs
- DispatcherEventArgs.cs
- SessionPageStateSection.cs
- ApplicationTrust.cs
- CodeGenerationManager.cs
- ProjectionCamera.cs
- StringResourceManager.cs
- InternalRelationshipCollection.cs
- SrgsSubset.cs
- PeerNameRecordCollection.cs
- StaticContext.cs
- PackagePartCollection.cs
- StyleBamlRecordReader.cs
- XmlSchemaSimpleContentExtension.cs
- VisualStyleElement.cs
- WCFBuildProvider.cs
- PerformanceCounterCategory.cs
- TextBoxRenderer.cs
- RecognizedPhrase.cs
- EntityCommand.cs
- XmlDocumentType.cs
- ParagraphResult.cs
- ViewCellSlot.cs
- PackageRelationship.cs
- ItemsChangedEventArgs.cs
- XmlSchemaGroup.cs
- CodeMemberEvent.cs
- PolyBezierSegment.cs
- ScriptComponentDescriptor.cs
- SelectedGridItemChangedEvent.cs
- OutputWindow.cs
- GregorianCalendarHelper.cs
- BaseParaClient.cs
- OptimizedTemplateContent.cs
- WebPartsSection.cs
- EntityCollection.cs
- EdmComplexPropertyAttribute.cs
- BaseAutoFormat.cs
- EnumMember.cs
- XmlLanguage.cs
- DataControlLinkButton.cs
- ImageField.cs
- DateTimeConstantAttribute.cs
- RectangleHotSpot.cs
- AnnotationResource.cs
- ByteAnimation.cs
- AsnEncodedData.cs
- ConnectionPoolRegistry.cs
- WasHttpHandlersInstallComponent.cs
- UpDownBase.cs
- Html32TextWriter.cs
- HostVisual.cs
- DelegateSerializationHolder.cs
- DataTableReaderListener.cs
- ImmutablePropertyDescriptorGridEntry.cs
- SqlDependencyListener.cs
- CancelEventArgs.cs
- ListViewGroup.cs
- ObjectDisposedException.cs
- StringConcat.cs
- DesignerDataConnection.cs
- Transform.cs
- RegisteredExpandoAttribute.cs
- ToolboxItemCollection.cs
- FixedDSBuilder.cs
- HtmlInputControl.cs
- StyleXamlTreeBuilder.cs
- JsonFormatWriterGenerator.cs
- WebPartMenuStyle.cs
- Domain.cs
- X509ImageLogo.cs
- AuthenticationService.cs
- _SSPISessionCache.cs
- altserialization.cs
- AssociationTypeEmitter.cs
- StopRoutingHandler.cs
- BitSet.cs
- BindingCollection.cs
- FormView.cs
- EntityTemplateFactory.cs
- SelectedGridItemChangedEvent.cs
- FormatException.cs
- RelationshipEndCollection.cs
- ContainerControl.cs
- UxThemeWrapper.cs
- RowParagraph.cs
- DocumentEventArgs.cs
- OleDbMetaDataFactory.cs
- TableParagraph.cs
- Page.cs
- WindowsAuthenticationModule.cs