Code:
/ FX-1434 / FX-1434 / 1.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
- ServiceNameCollection.cs
- Inline.cs
- DynamicILGenerator.cs
- TextParagraphProperties.cs
- ReferenceSchema.cs
- FlowThrottle.cs
- WindowsGraphicsCacheManager.cs
- ModuleElement.cs
- SoapFormatExtensions.cs
- SqlBulkCopyColumnMappingCollection.cs
- ParameterBuilder.cs
- MarkupCompilePass1.cs
- SafeHandle.cs
- LicenseException.cs
- OLEDB_Util.cs
- SecurityContext.cs
- PropertyOverridesTypeEditor.cs
- SrgsElementFactoryCompiler.cs
- ExpandCollapsePattern.cs
- GACMembershipCondition.cs
- XPathCompileException.cs
- DbInsertCommandTree.cs
- ElementUtil.cs
- XPathDocument.cs
- WebPartActionVerb.cs
- CommandEventArgs.cs
- SqlSupersetValidator.cs
- ContentElementAutomationPeer.cs
- Mapping.cs
- StructuralObject.cs
- ProfilePropertySettingsCollection.cs
- SendMailErrorEventArgs.cs
- QueueAccessMode.cs
- EntityModelBuildProvider.cs
- PropertyPathWorker.cs
- Repeater.cs
- DecoderExceptionFallback.cs
- HostingPreferredMapPath.cs
- RuleSettingsCollection.cs
- DoneReceivingAsyncResult.cs
- EncryptedPackageFilter.cs
- DataGridToolTip.cs
- SubMenuStyle.cs
- EndpointNotFoundException.cs
- WebPartDisplayMode.cs
- DynamicControlParameter.cs
- SqlInternalConnection.cs
- PeerNameRecord.cs
- Latin1Encoding.cs
- GPRECTF.cs
- SchemaCollectionCompiler.cs
- Suspend.cs
- TdsRecordBufferSetter.cs
- _DigestClient.cs
- FunctionMappingTranslator.cs
- CharUnicodeInfo.cs
- FontStyleConverter.cs
- ExclusiveTcpListener.cs
- SafeLocalMemHandle.cs
- Exception.cs
- CellRelation.cs
- SizeValueSerializer.cs
- NullableFloatMinMaxAggregationOperator.cs
- MessagePropertyDescriptionCollection.cs
- BindableAttribute.cs
- RC2.cs
- ArcSegment.cs
- ImageSourceValueSerializer.cs
- IndexedGlyphRun.cs
- SqlCacheDependencySection.cs
- DbConnectionPoolCounters.cs
- AxHost.cs
- ISO2022Encoding.cs
- DocumentViewerBaseAutomationPeer.cs
- FontStretches.cs
- MsmqMessageProperty.cs
- ToolCreatedEventArgs.cs
- Profiler.cs
- EpmSyndicationContentSerializer.cs
- Stack.cs
- BamlLocalizabilityResolver.cs
- TTSEvent.cs
- OutputCacheModule.cs
- followingquery.cs
- ObjectListDesigner.cs
- SqlCachedBuffer.cs
- SqlTypesSchemaImporter.cs
- ClaimTypes.cs
- CodeEventReferenceExpression.cs
- ConnectionInterfaceCollection.cs
- FixedSOMElement.cs
- ClientCultureInfo.cs
- WebRequestModuleElement.cs
- DbgUtil.cs
- TypeUsageBuilder.cs
- DbDataAdapter.cs
- SqlRetyper.cs
- DesignTimeTemplateParser.cs
- ConnectionStringsSection.cs
- TokenBasedSet.cs