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
- Validator.cs
- SqlBuffer.cs
- ContractValidationHelper.cs
- GregorianCalendarHelper.cs
- StringDictionaryEditor.cs
- CheckBox.cs
- RequestBringIntoViewEventArgs.cs
- RoleGroupCollection.cs
- DesignerDataConnection.cs
- SBCSCodePageEncoding.cs
- RewritingValidator.cs
- XmlObjectSerializerWriteContextComplex.cs
- PhoneCallDesigner.cs
- DataGridComboBoxColumn.cs
- ReturnValue.cs
- ADMembershipProvider.cs
- RemotingConfigParser.cs
- webclient.cs
- TemplateNameScope.cs
- DataGridViewDesigner.cs
- Panel.cs
- GridViewCancelEditEventArgs.cs
- ResXDataNode.cs
- ArgIterator.cs
- WhiteSpaceTrimStringConverter.cs
- ProviderConnectionPointCollection.cs
- FlowDocumentPage.cs
- OpCellTreeNode.cs
- CopyAttributesAction.cs
- ActivityExecutionFilter.cs
- QuaternionRotation3D.cs
- TransactionState.cs
- RestrictedTransactionalPackage.cs
- HwndTarget.cs
- CaretElement.cs
- NonParentingControl.cs
- BindingWorker.cs
- DecimalSumAggregationOperator.cs
- SHA1CryptoServiceProvider.cs
- ScrollPattern.cs
- DesigntimeLicenseContextSerializer.cs
- TextMessageEncoder.cs
- ApplicationDirectory.cs
- PaginationProgressEventArgs.cs
- GZipDecoder.cs
- AppearanceEditorPart.cs
- StyleCollection.cs
- ZipIOFileItemStream.cs
- LineServicesRun.cs
- TextDpi.cs
- MimeWriter.cs
- PrinterUnitConvert.cs
- UnsafeNativeMethods.cs
- SqlBooleanMismatchVisitor.cs
- XmlDocumentFragment.cs
- ConfigurationFileMap.cs
- localization.cs
- AlgoModule.cs
- TableLayoutCellPaintEventArgs.cs
- SqlCachedBuffer.cs
- SoapExtension.cs
- WebServiceResponse.cs
- DescendantQuery.cs
- TextUtf8RawTextWriter.cs
- LoginDesigner.cs
- ItemCheckedEvent.cs
- ValueChangedEventManager.cs
- CompilerGlobalScopeAttribute.cs
- SubMenuStyleCollection.cs
- StorageMappingItemCollection.cs
- UidManager.cs
- XmlRawWriter.cs
- EventWaitHandle.cs
- View.cs
- RawUIStateInputReport.cs
- AxHostDesigner.cs
- UdpDiscoveryMessageFilter.cs
- ApplicationSecurityInfo.cs
- InternalBufferOverflowException.cs
- SequenceQuery.cs
- HtmlLabelAdapter.cs
- GeneralTransform2DTo3D.cs
- HwndSource.cs
- Deflater.cs
- StringBlob.cs
- WebAdminConfigurationHelper.cs
- StackSpiller.Bindings.cs
- ISAPIApplicationHost.cs
- EnvelopedSignatureTransform.cs
- InstanceData.cs
- ModifiableIteratorCollection.cs
- ScriptControl.cs
- InheritanceContextHelper.cs
- dbdatarecord.cs
- CngAlgorithmGroup.cs
- InputManager.cs
- SafeUserTokenHandle.cs
- ConfigurationUtility.cs
- ActiveXMessageFormatter.cs
- PasswordRecovery.cs