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
- SystemIPGlobalProperties.cs
- safesecurityhelperavalon.cs
- StrokeIntersection.cs
- EntityAdapter.cs
- Button.cs
- TimeZoneNotFoundException.cs
- NamedObject.cs
- clipboard.cs
- TransformDescriptor.cs
- compensatingcollection.cs
- SelectionEditingBehavior.cs
- TimerElapsedEvenArgs.cs
- Delegate.cs
- ListViewUpdatedEventArgs.cs
- BasePattern.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- XmlWellformedWriter.cs
- SoundPlayer.cs
- CompositionTarget.cs
- SiteMapNode.cs
- DataErrorValidationRule.cs
- WebReference.cs
- PrintEvent.cs
- RowTypeElement.cs
- Win32Native.cs
- RoutedEventArgs.cs
- ThicknessKeyFrameCollection.cs
- LocalizabilityAttribute.cs
- InputReportEventArgs.cs
- XmlMessageFormatter.cs
- SchemaImporterExtension.cs
- CacheAxisQuery.cs
- SortKey.cs
- OSEnvironmentHelper.cs
- TransformedBitmap.cs
- Stream.cs
- ResourceExpressionBuilder.cs
- TrackingLocationCollection.cs
- linebase.cs
- TypedTableBaseExtensions.cs
- SupportsEventValidationAttribute.cs
- HuffModule.cs
- PageSetupDialog.cs
- Geometry3D.cs
- BitmapEncoder.cs
- PolicyImporterElement.cs
- NonBatchDirectoryCompiler.cs
- Serializer.cs
- ParserStreamGeometryContext.cs
- ContainerParaClient.cs
- Triplet.cs
- ObjectDisposedException.cs
- AttributeUsageAttribute.cs
- Util.cs
- ButtonAutomationPeer.cs
- TreeViewBindingsEditorForm.cs
- DataGridViewControlCollection.cs
- ZipFileInfoCollection.cs
- SchemaObjectWriter.cs
- ChameleonKey.cs
- ListViewCancelEventArgs.cs
- Timer.cs
- WebPartCollection.cs
- TimelineGroup.cs
- DomainLiteralReader.cs
- UnionExpr.cs
- DockPatternIdentifiers.cs
- XmlSchemaAnnotation.cs
- CharacterHit.cs
- DropDownList.cs
- PageThemeCodeDomTreeGenerator.cs
- TextServicesDisplayAttribute.cs
- ToolStripPanelRow.cs
- MimeMultiPart.cs
- ResolveRequestResponseAsyncResult.cs
- cookiecontainer.cs
- ComplexPropertyEntry.cs
- AdapterUtil.cs
- InkCollectionBehavior.cs
- InteropDesigner.xaml.cs
- SettingsSavedEventArgs.cs
- XpsLiterals.cs
- BoolExpressionVisitors.cs
- XamlWriter.cs
- DataGridColumnCollection.cs
- AnchoredBlock.cs
- SortedList.cs
- TransformerConfigurationWizardBase.cs
- LocatorManager.cs
- RangeContentEnumerator.cs
- externdll.cs
- CompositeKey.cs
- XamlGridLengthSerializer.cs
- CultureSpecificCharacterBufferRange.cs
- XpsTokenContext.cs
- DocumentProperties.cs
- PackWebRequestFactory.cs
- sqlpipe.cs
- StringDictionaryEditor.cs
- Fonts.cs