Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- Thumb.cs
- OleDbMetaDataFactory.cs
- LexicalChunk.cs
- ADRoleFactoryConfiguration.cs
- FilteredReadOnlyMetadataCollection.cs
- XmlAnyElementAttributes.cs
- DbConnectionOptions.cs
- ContactManager.cs
- ColumnMapProcessor.cs
- PersonalizationStateInfo.cs
- RIPEMD160.cs
- XmlHierarchicalDataSourceView.cs
- ToolstripProfessionalRenderer.cs
- oledbmetadatacolumnnames.cs
- RawStylusInputCustomDataList.cs
- ZipPackage.cs
- _KerberosClient.cs
- SQLDecimal.cs
- FormViewDesigner.cs
- GeometryHitTestResult.cs
- BitmapEffectGroup.cs
- Track.cs
- SchemaImporter.cs
- ImageConverter.cs
- FixedElement.cs
- COM2ExtendedUITypeEditor.cs
- WindowsFormsSynchronizationContext.cs
- NumericUpDown.cs
- NonParentingControl.cs
- TransformerInfoCollection.cs
- HWStack.cs
- SetterTriggerConditionValueConverter.cs
- Label.cs
- PrivateFontCollection.cs
- TopClause.cs
- DocumentViewer.cs
- PartialCachingAttribute.cs
- HttpCacheVary.cs
- DependencySource.cs
- EventSinkHelperWriter.cs
- HtmlHistory.cs
- ElementUtil.cs
- AstTree.cs
- SoapMessage.cs
- SafeHandles.cs
- UnmanagedBitmapWrapper.cs
- Size.cs
- InkPresenter.cs
- ToolboxComponentsCreatedEventArgs.cs
- SafeNativeMethods.cs
- CfgParser.cs
- Semaphore.cs
- DrawingAttributesDefaultValueFactory.cs
- QueueProcessor.cs
- ApplicationDirectoryMembershipCondition.cs
- DurableEnlistmentState.cs
- HotSpot.cs
- ComponentEvent.cs
- ValidationEventArgs.cs
- TextTabProperties.cs
- SamlAuthenticationClaimResource.cs
- filewebresponse.cs
- CompressedStack.cs
- ReadOnlyCollection.cs
- PropertyGridCommands.cs
- NullPackagingPolicy.cs
- RelationshipConverter.cs
- BezierSegment.cs
- CompilerResults.cs
- ReservationNotFoundException.cs
- ContextInformation.cs
- HttpHandlerActionCollection.cs
- TextContainerChangedEventArgs.cs
- ErrorWrapper.cs
- HorizontalAlignConverter.cs
- EventHandlerList.cs
- Attributes.cs
- SelectingProviderEventArgs.cs
- KernelTypeValidation.cs
- ClosableStream.cs
- PerfCounters.cs
- SoapFormatterSinks.cs
- AsyncCodeActivityContext.cs
- WaveHeader.cs
- XhtmlBasicListAdapter.cs
- HebrewCalendar.cs
- MetaType.cs
- FloaterParaClient.cs
- Run.cs
- ByteStorage.cs
- SessionStateItemCollection.cs
- GridViewCommandEventArgs.cs
- NetworkAddressChange.cs
- ObjectDataSourceMethodEditor.cs
- JapaneseLunisolarCalendar.cs
- ParserStack.cs
- MSAANativeProvider.cs
- CryptographicAttribute.cs
- HtmlButton.cs
- IntSecurity.cs