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
- XmlSerializationReader.cs
- ApplicationFileParser.cs
- XmlCountingReader.cs
- CompiledQuery.cs
- ColumnReorderedEventArgs.cs
- Point3DIndependentAnimationStorage.cs
- ParagraphVisual.cs
- SemanticValue.cs
- HttpRequest.cs
- ToolZone.cs
- CodeRegionDirective.cs
- TemplatedWizardStep.cs
- WebPartsSection.cs
- EpmSyndicationContentDeSerializer.cs
- IndexedEnumerable.cs
- PeerTransportListenAddressValidator.cs
- MatchAttribute.cs
- FormatterConverter.cs
- HitTestParameters3D.cs
- Stylesheet.cs
- Track.cs
- InitializationEventAttribute.cs
- ContainsRowNumberChecker.cs
- NTAccount.cs
- WindowsButton.cs
- BridgeDataRecord.cs
- Token.cs
- DataListItem.cs
- StatusBarDesigner.cs
- Timer.cs
- InternalConfigRoot.cs
- XamlTemplateSerializer.cs
- ResumeStoryboard.cs
- CheckBoxStandardAdapter.cs
- StretchValidation.cs
- NativeMethods.cs
- ISAPIWorkerRequest.cs
- NativeMethods.cs
- TextEditorCharacters.cs
- SafeCryptoHandles.cs
- SqlAggregateChecker.cs
- counter.cs
- StateManagedCollection.cs
- InstanceDataCollectionCollection.cs
- UidManager.cs
- EdmPropertyAttribute.cs
- AttachedPropertyDescriptor.cs
- MulticastOption.cs
- PageCache.cs
- NTAccount.cs
- GeneralTransformGroup.cs
- ChildTable.cs
- KnownIds.cs
- ImageSourceConverter.cs
- DataSourceControlBuilder.cs
- UrlMapping.cs
- XmlEncodedRawTextWriter.cs
- ZipPackagePart.cs
- FormatSelectingMessageInspector.cs
- RequestContext.cs
- ObjectResult.cs
- DispatchWrapper.cs
- XmlDataSourceView.cs
- FormsAuthenticationUser.cs
- Command.cs
- PrintingPermissionAttribute.cs
- RelativeSource.cs
- XamlFigureLengthSerializer.cs
- DecimalKeyFrameCollection.cs
- ValidatorUtils.cs
- TraceUtils.cs
- PatternMatcher.cs
- RuntimeResourceSet.cs
- HttpCapabilitiesSectionHandler.cs
- ClrPerspective.cs
- HttpResponseHeader.cs
- Drawing.cs
- UnsafeNativeMethods.cs
- ServiceRoute.cs
- PerformanceCountersElement.cs
- GACIdentityPermission.cs
- ComplexType.cs
- ConfigXmlSignificantWhitespace.cs
- MethodImplAttribute.cs
- StreamUpdate.cs
- WebServicesInteroperability.cs
- Size3DConverter.cs
- Button.cs
- SqlTriggerAttribute.cs
- QueueSurrogate.cs
- ScheduleChanges.cs
- CompositeControl.cs
- XmlILConstructAnalyzer.cs
- XmlReaderDelegator.cs
- OpCodes.cs
- Vector3dCollection.cs
- WebPartZoneBaseDesigner.cs
- ResourceSetExpression.cs
- EntityClientCacheKey.cs
- TypeDescriptionProviderAttribute.cs