Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ListCommandEventArgs.cs
- TextModifierScope.cs
- TextSerializer.cs
- XmlBinaryReader.cs
- _SslState.cs
- SourceFileBuildProvider.cs
- CommunicationObjectAbortedException.cs
- Transform.cs
- Page.cs
- FileStream.cs
- SessionStateModule.cs
- WebScriptMetadataFormatter.cs
- SourceInterpreter.cs
- ModuleBuilder.cs
- GridViewRowPresenter.cs
- XPathMultyIterator.cs
- ISFClipboardData.cs
- InstanceNotFoundException.cs
- DockAndAnchorLayout.cs
- TimeManager.cs
- TableItemProviderWrapper.cs
- DbConnectionHelper.cs
- StringUtil.cs
- PolicyVersionConverter.cs
- QueryableDataSource.cs
- WindowsProgressbar.cs
- SQLChars.cs
- XamlReaderHelper.cs
- BitmapSizeOptions.cs
- XmlSchemaChoice.cs
- XmlReader.cs
- ContainerUIElement3D.cs
- ConfigUtil.cs
- BackgroundWorker.cs
- PerformanceCounterManager.cs
- HWStack.cs
- FactoryGenerator.cs
- Panel.cs
- SpnegoTokenAuthenticator.cs
- OdbcStatementHandle.cs
- WsatTransactionHeader.cs
- TranslateTransform3D.cs
- DetailsViewDeletedEventArgs.cs
- TreeNode.cs
- SettingsProperty.cs
- FontInfo.cs
- newinstructionaction.cs
- _CommandStream.cs
- DataGridParentRows.cs
- ComAdminWrapper.cs
- RuleSetBrowserDialog.cs
- TextTreeInsertUndoUnit.cs
- Int32Collection.cs
- EntryIndex.cs
- WsatServiceCertificate.cs
- TextProviderWrapper.cs
- LifetimeServices.cs
- TemplateControl.cs
- OleDbSchemaGuid.cs
- Options.cs
- ControlValuePropertyAttribute.cs
- Int32Rect.cs
- LoginView.cs
- WindowsListViewItemCheckBox.cs
- ConfigurationValue.cs
- PointIndependentAnimationStorage.cs
- DockPattern.cs
- GeometryDrawing.cs
- DependencyPropertyKind.cs
- SqlAliaser.cs
- RuntimeResourceSet.cs
- SafeProcessHandle.cs
- GlyphRun.cs
- InertiaTranslationBehavior.cs
- NonBatchDirectoryCompiler.cs
- VisualTreeUtils.cs
- _DigestClient.cs
- SemanticResultKey.cs
- HttpMethodAttribute.cs
- RoleBoolean.cs
- DefaultBindingPropertyAttribute.cs
- FileChangesMonitor.cs
- Script.cs
- EntityClientCacheEntry.cs
- RtType.cs
- KeyedHashAlgorithm.cs
- PropertyGeneratedEventArgs.cs
- StructuredTypeEmitter.cs
- DeferredTextReference.cs
- ExitEventArgs.cs
- ProcessManager.cs
- MaterializeFromAtom.cs
- Form.cs
- SqlDataSourceStatusEventArgs.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- metadatamappinghashervisitor.cs
- PropVariant.cs
- StreamWriter.cs
- InteropBitmapSource.cs
- TcpClientSocketManager.cs