Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / FatalException.cs / 1305376 / FatalException.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime { using System; using System.Runtime.Serialization; [Serializable] class FatalException : SystemException { public FatalException() { } public FatalException(string message) : base(message) { } public FatalException(string message, Exception innerException) : base(message, innerException) { // This can't throw something like ArgumentException because that would be worse than // throwing the fatal exception that was requested. Fx.Assert(innerException == null || !Fx.IsFatal(innerException), "FatalException can't be used to wrap fatal exceptions."); } protected FatalException(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. //----------------------------------------------------------------------------- namespace System.Runtime { using System; using System.Runtime.Serialization; [Serializable] class FatalException : SystemException { public FatalException() { } public FatalException(string message) : base(message) { } public FatalException(string message, Exception innerException) : base(message, innerException) { // This can't throw something like ArgumentException because that would be worse than // throwing the fatal exception that was requested. Fx.Assert(innerException == null || !Fx.IsFatal(innerException), "FatalException can't be used to wrap fatal exceptions."); } protected FatalException(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
- CodeBinaryOperatorExpression.cs
- FontUnit.cs
- EnumConverter.cs
- UnknownBitmapEncoder.cs
- XamlPoint3DCollectionSerializer.cs
- ConfigurationSectionCollection.cs
- PeerNameResolver.cs
- WebControlsSection.cs
- IteratorFilter.cs
- TemplateColumn.cs
- PropertyPathWorker.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- ToolStripItemCollection.cs
- EntityTemplateUserControl.cs
- CheckBoxList.cs
- WebPartZoneAutoFormat.cs
- PropertyOverridesTypeEditor.cs
- PropertyManager.cs
- OdbcConnectionOpen.cs
- SafeNativeMethodsMilCoreApi.cs
- QuaternionConverter.cs
- StreamSecurityUpgradeInitiator.cs
- SafeSecurityHandles.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- Point3DValueSerializer.cs
- QilExpression.cs
- WindowsFormsHostPropertyMap.cs
- PageParserFilter.cs
- UpdateManifestForBrowserApplication.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XmlnsDictionary.cs
- CompositeCollection.cs
- XmlNamespaceMapping.cs
- ViewLoader.cs
- LateBoundChannelParameterCollection.cs
- ProvidePropertyAttribute.cs
- TreeIterators.cs
- TypeExtensionConverter.cs
- ContextMenuStrip.cs
- DBBindings.cs
- TextBoxBase.cs
- X509ChainPolicy.cs
- ReadOnlyHierarchicalDataSource.cs
- StatusStrip.cs
- LongTypeConverter.cs
- DiscoveryRequestHandler.cs
- SystemKeyConverter.cs
- TableLayoutPanel.cs
- XsltOutput.cs
- EncodingTable.cs
- MenuItem.cs
- Color.cs
- PropertyTab.cs
- PartialCachingAttribute.cs
- UInt32Converter.cs
- SymDocumentType.cs
- ScopeElement.cs
- Quad.cs
- WebPart.cs
- RestClientProxyHandler.cs
- RevocationPoint.cs
- DialogDivider.cs
- XPathDocumentBuilder.cs
- CompiledQuery.cs
- ToolBarButton.cs
- QueueException.cs
- GacUtil.cs
- PriorityChain.cs
- ListViewItem.cs
- PositiveTimeSpanValidator.cs
- Terminate.cs
- PerformanceCounterLib.cs
- PackagingUtilities.cs
- SapiRecoContext.cs
- PolyLineSegmentFigureLogic.cs
- MessageSmuggler.cs
- CalendarTable.cs
- ButtonRenderer.cs
- CodeStatementCollection.cs
- Rules.cs
- CompiledIdentityConstraint.cs
- GridPattern.cs
- Point3DCollectionConverter.cs
- ResetableIterator.cs
- GeometryHitTestResult.cs
- ObjectItemCachedAssemblyLoader.cs
- BamlTreeNode.cs
- PropertyItemInternal.cs
- XamlRtfConverter.cs
- OleDbWrapper.cs
- ContractNamespaceAttribute.cs
- GridViewSortEventArgs.cs
- TriggerCollection.cs
- RenderData.cs
- Publisher.cs
- WebSysDisplayNameAttribute.cs
- Journaling.cs
- DeadCharTextComposition.cs
- EnumBuilder.cs
- MD5HashHelper.cs