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
- DescendantOverDescendantQuery.cs
- CommandField.cs
- BindingCollection.cs
- Matrix3DValueSerializer.cs
- ContractListAdapter.cs
- ScopelessEnumAttribute.cs
- SecurityStandardsManager.cs
- FixUp.cs
- DesignerHierarchicalDataSourceView.cs
- SystemResourceKey.cs
- PartitionedStreamMerger.cs
- StatusBarItem.cs
- LassoHelper.cs
- DotExpr.cs
- SqlDataSourceFilteringEventArgs.cs
- BasicHttpSecurityMode.cs
- ReversePositionQuery.cs
- DropShadowBitmapEffect.cs
- Win32Exception.cs
- _LoggingObject.cs
- FieldBuilder.cs
- WorkflowControlEndpoint.cs
- Converter.cs
- SmtpCommands.cs
- HiddenFieldDesigner.cs
- XXXInfos.cs
- DataSourceView.cs
- DbMetaDataCollectionNames.cs
- GridItem.cs
- ConfigurationSchemaErrors.cs
- ExpressionBindingCollection.cs
- ArrangedElementCollection.cs
- MetadataFile.cs
- CssTextWriter.cs
- IdentityReference.cs
- XPathNodeList.cs
- GradientStop.cs
- RuleAction.cs
- VectorAnimationBase.cs
- TableColumnCollectionInternal.cs
- FileRecordSequence.cs
- Font.cs
- TextTreeExtractElementUndoUnit.cs
- DependencyObjectType.cs
- RoutedEventConverter.cs
- HashStream.cs
- WebPartHelpVerb.cs
- MatrixTransform3D.cs
- NativeMethods.cs
- RtfControls.cs
- PhysicalFontFamily.cs
- HttpResponseInternalWrapper.cs
- AlgoModule.cs
- SelectionEditingBehavior.cs
- ChtmlPageAdapter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- VisualTreeUtils.cs
- ConvertBinder.cs
- SignedInfo.cs
- XmlObjectSerializerWriteContextComplex.cs
- SessionEndingEventArgs.cs
- DateTimeConstantAttribute.cs
- InternalUserCancelledException.cs
- SmiRequestExecutor.cs
- SecurityKeyUsage.cs
- UInt32Storage.cs
- ListViewItemSelectionChangedEvent.cs
- MarginCollapsingState.cs
- AuthorizationRuleCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- EntityDesignerDataSourceView.cs
- SqlDataAdapter.cs
- SyndicationPerson.cs
- GenericWebPart.cs
- ZeroOpNode.cs
- MembershipUser.cs
- ConfigurationStrings.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TypeHelpers.cs
- TypedRowHandler.cs
- TypeFieldSchema.cs
- EntityProviderServices.cs
- XmlSchemaParticle.cs
- DataTransferEventArgs.cs
- ProcessingInstructionAction.cs
- HttpServerVarsCollection.cs
- SqlTypesSchemaImporter.cs
- SQLInt16Storage.cs
- ZipIOCentralDirectoryFileHeader.cs
- PartDesigner.cs
- StringConverter.cs
- IISUnsafeMethods.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- UseLicense.cs
- ConnectionPoolManager.cs
- SignedInfo.cs
- PathFigure.cs
- Expander.cs
- PasswordTextNavigator.cs
- GeometryModel3D.cs