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
- TypeTypeConverter.cs
- HttpResponse.cs
- WebBrowserNavigatingEventHandler.cs
- EventDescriptor.cs
- HMACRIPEMD160.cs
- DSGeneratorProblem.cs
- InfoCardClaimCollection.cs
- TypedServiceChannelBuilder.cs
- LateBoundBitmapDecoder.cs
- CustomErrorCollection.cs
- ContractValidationHelper.cs
- SqlUtil.cs
- SqlBooleanMismatchVisitor.cs
- ConfigXmlElement.cs
- DateTimeParse.cs
- NameObjectCollectionBase.cs
- FixedSOMTable.cs
- CollectionViewSource.cs
- EntityObject.cs
- KeyboardNavigation.cs
- ColorTranslator.cs
- PageFunction.cs
- EntityContainerRelationshipSet.cs
- BaseTemplateParser.cs
- CompiledRegexRunner.cs
- TopClause.cs
- UriSchemeKeyedCollection.cs
- securestring.cs
- UrlAuthFailedErrorFormatter.cs
- DropSource.cs
- HtmlSelect.cs
- XmlSchemaIdentityConstraint.cs
- XmlBinaryWriter.cs
- ConnectionConsumerAttribute.cs
- WebPartMenuStyle.cs
- ApplicationDirectoryMembershipCondition.cs
- XhtmlConformanceSection.cs
- InstanceLockedException.cs
- EventManager.cs
- ExpressionEditorAttribute.cs
- LayoutTable.cs
- MultiSelectRootGridEntry.cs
- DescendantBaseQuery.cs
- HMACMD5.cs
- Vector3DCollectionConverter.cs
- ReadingWritingEntityEventArgs.cs
- XmlNamespaceManager.cs
- mansign.cs
- DependencyObject.cs
- ReadOnlyCollectionBase.cs
- NullableIntSumAggregationOperator.cs
- PageWrapper.cs
- OleDragDropHandler.cs
- FunctionNode.cs
- EntityDataSourceDesigner.cs
- DesignTimeSiteMapProvider.cs
- ChannelSinkStacks.cs
- NamespaceCollection.cs
- DispatcherFrame.cs
- RadioButtonBaseAdapter.cs
- WindowsButton.cs
- XPathNodeInfoAtom.cs
- WSSecurityPolicy.cs
- RelationshipManager.cs
- OletxResourceManager.cs
- LicenseProviderAttribute.cs
- FlowDocumentPaginator.cs
- WmpBitmapEncoder.cs
- ImageListImageEditor.cs
- WebPartEditorOkVerb.cs
- unitconverter.cs
- Emitter.cs
- Vector3DValueSerializer.cs
- BufferedReadStream.cs
- TreeViewAutomationPeer.cs
- Exceptions.cs
- SessionEndingEventArgs.cs
- UriExt.cs
- ProcessInfo.cs
- OutputCacheProviderCollection.cs
- ObjectAnimationUsingKeyFrames.cs
- ListItemCollection.cs
- DBSchemaRow.cs
- SemaphoreSecurity.cs
- UnsafePeerToPeerMethods.cs
- SimpleTypesSurrogate.cs
- NetNamedPipeBindingElement.cs
- SqlUserDefinedTypeAttribute.cs
- AutomationPropertyInfo.cs
- TextPointer.cs
- ComponentEditorPage.cs
- InternalBase.cs
- AsymmetricAlgorithm.cs
- Globals.cs
- QueryOutputWriter.cs
- ProxyGenerator.cs
- MemoryRecordBuffer.cs
- DispatcherEventArgs.cs
- SqlResolver.cs
- DataControlExtensions.cs