Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / DivideByZeroException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TypeContext.cs
- SQLBytes.cs
- NameValueSectionHandler.cs
- UnicodeEncoding.cs
- ServiceModelStringsVersion1.cs
- IDictionary.cs
- ZipFileInfo.cs
- RuleInfoComparer.cs
- TextSearch.cs
- handlecollector.cs
- MutexSecurity.cs
- ProfileParameter.cs
- MobileCategoryAttribute.cs
- AssemblyAttributesGoHere.cs
- CodeGeneratorOptions.cs
- BindingList.cs
- DocumentXmlWriter.cs
- ArithmeticException.cs
- RegexMatch.cs
- RotateTransform3D.cs
- DataGridHeaderBorder.cs
- Logging.cs
- MeasureData.cs
- _WebProxyDataBuilder.cs
- SequenceDesigner.cs
- DocumentGrid.cs
- AssertFilter.cs
- RawUIStateInputReport.cs
- WrapPanel.cs
- WebBrowserProgressChangedEventHandler.cs
- WebPartCatalogAddVerb.cs
- InternalCache.cs
- CollectionConverter.cs
- GridViewAutomationPeer.cs
- SamlNameIdentifierClaimResource.cs
- RelatedPropertyManager.cs
- XmlElement.cs
- UidManager.cs
- Documentation.cs
- EventMappingSettings.cs
- WaitHandle.cs
- CqlLexer.cs
- BidPrivateBase.cs
- RuntimeHandles.cs
- GuidConverter.cs
- KnownColorTable.cs
- Formatter.cs
- HtmlWindowCollection.cs
- Utils.cs
- RangeValueProviderWrapper.cs
- ByteArrayHelperWithString.cs
- Single.cs
- PropertyGridCommands.cs
- Single.cs
- Behavior.cs
- SqlVisitor.cs
- TypeToken.cs
- GridSplitterAutomationPeer.cs
- AutomationPatternInfo.cs
- AccessControlEntry.cs
- DataGridColumnHeaderAutomationPeer.cs
- DynamicRendererThreadManager.cs
- WebPartConnectionsConfigureVerb.cs
- DependencyPropertyDescriptor.cs
- CacheOutputQuery.cs
- MailWriter.cs
- _AutoWebProxyScriptHelper.cs
- TreeViewEvent.cs
- FederatedMessageSecurityOverHttpElement.cs
- ControlParameter.cs
- BreakRecordTable.cs
- WinEventTracker.cs
- ContentHostHelper.cs
- XmlMapping.cs
- DesignerForm.cs
- FtpCachePolicyElement.cs
- RightNameExpirationInfoPair.cs
- Visual.cs
- DispatcherExceptionEventArgs.cs
- XmlProcessingInstruction.cs
- TrustManager.cs
- CharUnicodeInfo.cs
- RuleSetDialog.cs
- ListViewDataItem.cs
- recordstate.cs
- DictationGrammar.cs
- InstanceCreationEditor.cs
- LifetimeMonitor.cs
- MiniAssembly.cs
- TemplateInstanceAttribute.cs
- LostFocusEventManager.cs
- TextBoxLine.cs
- HtmlButton.cs
- TreeNodeStyleCollection.cs
- UserControlParser.cs
- TemplateEditingService.cs
- ConnectionPoint.cs
- XmlSchemaSimpleTypeUnion.cs
- UpdateException.cs