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
- Utility.cs
- ClientFormsIdentity.cs
- CodeChecksumPragma.cs
- Localizer.cs
- BaseAppDomainProtocolHandler.cs
- InternalConfigHost.cs
- ScrollChrome.cs
- Thread.cs
- DiagnosticTrace.cs
- DllNotFoundException.cs
- VBCodeProvider.cs
- DynamicDiscoSearcher.cs
- ScaleTransform.cs
- HtmlInputCheckBox.cs
- GridView.cs
- WebPartConnectionsDisconnectVerb.cs
- NavigationService.cs
- SettingsSection.cs
- TrackBarRenderer.cs
- WCFBuildProvider.cs
- XmlQueryContext.cs
- OleDbMetaDataFactory.cs
- ClientSettingsStore.cs
- PipeStream.cs
- basecomparevalidator.cs
- HotCommands.cs
- Win32SafeHandles.cs
- RuleRefElement.cs
- DictionaryContent.cs
- AlternateView.cs
- NamespaceEmitter.cs
- PreservationFileWriter.cs
- SynchronizedInputHelper.cs
- StringSorter.cs
- GroupDescription.cs
- InvalidProgramException.cs
- FullTextBreakpoint.cs
- ValidationErrorCollection.cs
- CompilationUnit.cs
- WarningException.cs
- AttributeExtensions.cs
- ContentFileHelper.cs
- ToolStripDesignerAvailabilityAttribute.cs
- CryptoApi.cs
- ServiceDescriptions.cs
- WindowsMenu.cs
- ClientSettingsProvider.cs
- RangeExpression.cs
- DictionaryBase.cs
- Group.cs
- CurrentChangingEventManager.cs
- AppSettingsSection.cs
- GacUtil.cs
- SchemaTableOptionalColumn.cs
- Intellisense.cs
- CaseInsensitiveHashCodeProvider.cs
- HttpStreamXmlDictionaryWriter.cs
- DynamicDataRoute.cs
- LocationUpdates.cs
- SByte.cs
- HttpListener.cs
- FileInfo.cs
- Directory.cs
- CompatibleComparer.cs
- StyleConverter.cs
- SQLDouble.cs
- AssertSection.cs
- InheritanceRules.cs
- Perspective.cs
- TableLayoutPanel.cs
- ContextQuery.cs
- LayoutTable.cs
- DataGridViewControlCollection.cs
- TextServicesDisplayAttribute.cs
- PermissionSetTriple.cs
- CannotUnloadAppDomainException.cs
- PreloadedPackages.cs
- ViewPort3D.cs
- RelationHandler.cs
- RadioButtonPopupAdapter.cs
- ObjectStorage.cs
- SafeFileMapViewHandle.cs
- Crypto.cs
- SystemResourceKey.cs
- ReflectionHelper.cs
- DateTimeOffsetConverter.cs
- RowToParametersTransformer.cs
- SHA512Cng.cs
- CodeDelegateInvokeExpression.cs
- clipboard.cs
- FilterQuery.cs
- ConfigurationElementProperty.cs
- PropertyAccessVisitor.cs
- MultilineStringConverter.cs
- OpenTypeCommon.cs
- DataAdapter.cs
- RequestCachingSection.cs
- ValueConversionAttribute.cs
- DependencyProperty.cs
- ExtendLockCommand.cs