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
- DockPattern.cs
- TextBoxView.cs
- MeshGeometry3D.cs
- DesignerUtils.cs
- ServiceTimeoutsElement.cs
- ApplicationInterop.cs
- SingleResultAttribute.cs
- XmlWellformedWriter.cs
- VisualStyleTypesAndProperties.cs
- ByteConverter.cs
- AmbientProperties.cs
- EDesignUtil.cs
- TextBoxAutoCompleteSourceConverter.cs
- SecurityContext.cs
- ConnectionStringSettingsCollection.cs
- LinqToSqlWrapper.cs
- HotSpot.cs
- CollectionType.cs
- DATA_BLOB.cs
- LinqDataSourceContextEventArgs.cs
- DefaultEvaluationContext.cs
- SimpleWebHandlerParser.cs
- ControlUtil.cs
- Accessible.cs
- FileDialogCustomPlace.cs
- UICuesEvent.cs
- MobileControlsSectionHandler.cs
- NaturalLanguageHyphenator.cs
- ConfigurationElement.cs
- DataGridViewRowsRemovedEventArgs.cs
- FileLogRecordStream.cs
- HtmlEmptyTagControlBuilder.cs
- BehaviorEditorPart.cs
- ContextBase.cs
- AssemblyInfo.cs
- NavigationPropertySingletonExpression.cs
- Mapping.cs
- SelectedDatesCollection.cs
- DeferredSelectedIndexReference.cs
- WinHttpWebProxyFinder.cs
- SQLMoneyStorage.cs
- SeparatorAutomationPeer.cs
- AffineTransform3D.cs
- SafeEventLogWriteHandle.cs
- TextServicesContext.cs
- NTAccount.cs
- SingleSelectRootGridEntry.cs
- EqualityComparer.cs
- DesignTable.cs
- clipboard.cs
- PropertyDescriptors.cs
- BamlVersionHeader.cs
- ToolStripContentPanelRenderEventArgs.cs
- MSHTMLHost.cs
- TrustLevelCollection.cs
- AddToCollection.cs
- LogAppendAsyncResult.cs
- LabelLiteral.cs
- Control.cs
- OdbcDataReader.cs
- SHA384Managed.cs
- _ChunkParse.cs
- SQLInt32.cs
- MessageQueue.cs
- XmlBuffer.cs
- SafeRegistryHandle.cs
- SqlDeflator.cs
- VectorCollection.cs
- AsymmetricKeyExchangeFormatter.cs
- GridViewCommandEventArgs.cs
- ObjectStateEntry.cs
- NetWebProxyFinder.cs
- TCEAdapterGenerator.cs
- SmtpCommands.cs
- MultiView.cs
- PipelineModuleStepContainer.cs
- VirtualDirectoryMapping.cs
- EditorPartCollection.cs
- HtmlPageAdapter.cs
- UserNamePasswordValidationMode.cs
- StatusBarPanel.cs
- ColorKeyFrameCollection.cs
- CodeMethodReturnStatement.cs
- SocketElement.cs
- unsafenativemethodstextservices.cs
- DocumentViewerAutomationPeer.cs
- PropertyDescriptorGridEntry.cs
- UInt64Storage.cs
- ComplexPropertyEntry.cs
- HttpPostClientProtocol.cs
- Attribute.cs
- Quaternion.cs
- GetImportedCardRequest.cs
- SoapSchemaMember.cs
- DragEventArgs.cs
- BufferAllocator.cs
- OLEDB_Enum.cs
- InlineObject.cs
- PrePostDescendentsWalker.cs
- SoapExtensionReflector.cs