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
- DefaultAssemblyResolver.cs
- hresults.cs
- ButtonField.cs
- ImageFormatConverter.cs
- SizeValueSerializer.cs
- EntityTypeBase.cs
- ServiceInfo.cs
- BuildProvidersCompiler.cs
- DispatchChannelSink.cs
- GridViewColumnHeaderAutomationPeer.cs
- ProxyAttribute.cs
- COM2PropertyDescriptor.cs
- ResourceCodeDomSerializer.cs
- ProtocolImporter.cs
- IpcServerChannel.cs
- _HeaderInfo.cs
- DragEventArgs.cs
- ScrollableControl.cs
- HtmlTernaryTree.cs
- LoginView.cs
- SessionParameter.cs
- X509WindowsSecurityToken.cs
- ConnectionAcceptor.cs
- DbQueryCommandTree.cs
- CodeTypeMember.cs
- WebPartConnectionsCloseVerb.cs
- FrugalList.cs
- querybuilder.cs
- DataGridViewRowPrePaintEventArgs.cs
- FlowDocumentReader.cs
- Authorization.cs
- XmlAttributeAttribute.cs
- ActivationProxy.cs
- AppDomainFactory.cs
- ObjectAssociationEndMapping.cs
- LessThanOrEqual.cs
- Pair.cs
- FtpCachePolicyElement.cs
- XmlAttributeCache.cs
- DocumentApplicationJournalEntry.cs
- DateTimeUtil.cs
- IntersectQueryOperator.cs
- ObjectDataSourceMethodEventArgs.cs
- WebZone.cs
- Typeface.cs
- ErrorWebPart.cs
- ObjectDataProvider.cs
- ErrorWrapper.cs
- ConfigurationElementProperty.cs
- FontNameConverter.cs
- TableAutomationPeer.cs
- CacheSection.cs
- GroupBoxDesigner.cs
- CSharpCodeProvider.cs
- LinqDataSourceUpdateEventArgs.cs
- shaperfactoryquerycacheentry.cs
- VirtualDirectoryMappingCollection.cs
- StoryFragments.cs
- FactoryGenerator.cs
- AppearanceEditorPart.cs
- RTLAwareMessageBox.cs
- ToolboxDataAttribute.cs
- WebPartHeaderCloseVerb.cs
- TrackingDataItem.cs
- EUCJPEncoding.cs
- Visitors.cs
- StringFreezingAttribute.cs
- HashStream.cs
- ServiceContractListItemList.cs
- PageCodeDomTreeGenerator.cs
- HyperLinkField.cs
- TraceLog.cs
- LinqDataSourceUpdateEventArgs.cs
- DependencyObject.cs
- ZipIOFileItemStream.cs
- XmlNodeChangedEventManager.cs
- TextOptionsInternal.cs
- ValueOfAction.cs
- smtpconnection.cs
- FormsIdentity.cs
- AspProxy.cs
- SynchronousChannel.cs
- VarRefManager.cs
- ApplicationManager.cs
- SchemaMerger.cs
- CacheRequest.cs
- DesignTimeTemplateParser.cs
- ParsedAttributeCollection.cs
- InputLangChangeEvent.cs
- SamlAuthenticationStatement.cs
- BooleanProjectedSlot.cs
- PinProtectionHelper.cs
- WebPartDisplayModeEventArgs.cs
- ParameterCollectionEditorForm.cs
- Drawing.cs
- ProcessMonitor.cs
- DiscardableAttribute.cs
- SqlDataSourceCommandParser.cs
- PointHitTestResult.cs
- Attribute.cs