Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / InteropServices / SEHException.cs / 1 / SEHException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SEHException ** ** ** Purpose: Exception class for all Structured Exception Handling code. ** ** =============================================================================*/ namespace System.Runtime.InteropServices { using System.Runtime.InteropServices; using System; using System.Runtime.Serialization; // Exception for Structured Exception Handler exceptions. // [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class SEHException : ExternalException { public SEHException() : base() { SetErrorCode(__HResults.E_FAIL); } public SEHException(String message) : base(message) { SetErrorCode(__HResults.E_FAIL); } public SEHException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.E_FAIL); } protected SEHException(SerializationInfo info, StreamingContext context) : base(info, context) { } // Exceptions can be resumable, meaning a filtered exception // handler can correct the problem that caused the exception, // and the code will continue from the point that threw the // exception. // // Resumable exceptions aren't implemented in this version, // but this method exists and always returns false. // public virtual bool CanResume() { return false; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizablePropertyEntry.cs
- AssemblyBuilder.cs
- coordinatorscratchpad.cs
- ListViewTableCell.cs
- UnSafeCharBuffer.cs
- VisualStyleInformation.cs
- AlphaSortedEnumConverter.cs
- CellIdBoolean.cs
- MessageSmuggler.cs
- DataKeyCollection.cs
- UIElement3D.cs
- TextProviderWrapper.cs
- EmptyEnumerator.cs
- CellIdBoolean.cs
- ResourceCategoryAttribute.cs
- SystemMulticastIPAddressInformation.cs
- InfoCardSchemas.cs
- CheckPair.cs
- SchemaNotation.cs
- DrawingBrush.cs
- Int32Converter.cs
- TypeSource.cs
- CodeGen.cs
- HelpInfo.cs
- PerformanceCountersElement.cs
- DoubleCollectionValueSerializer.cs
- ImageCreator.cs
- CodeNamespaceImportCollection.cs
- CommandEventArgs.cs
- MethodMessage.cs
- FileDialogCustomPlace.cs
- OperationDescriptionCollection.cs
- ProtectedConfigurationSection.cs
- URLIdentityPermission.cs
- BitmapPalette.cs
- DeferredReference.cs
- XPathBuilder.cs
- HtmlContainerControl.cs
- MissingFieldException.cs
- HeaderUtility.cs
- SafeUserTokenHandle.cs
- FactoryMaker.cs
- httpapplicationstate.cs
- EnumType.cs
- XmlLanguageConverter.cs
- CollectionViewGroup.cs
- ChannelSinkStacks.cs
- BoundField.cs
- XmlTextReaderImpl.cs
- SafeNativeMethodsOther.cs
- DataGridState.cs
- ExtendedPropertyCollection.cs
- EventToken.cs
- ContentPosition.cs
- CompositeCollectionView.cs
- StringReader.cs
- ThousandthOfEmRealDoubles.cs
- TextBoxDesigner.cs
- TableLayoutSettingsTypeConverter.cs
- SqlFunctions.cs
- MTConfigUtil.cs
- DrawingContextDrawingContextWalker.cs
- ChangeDirector.cs
- FileClassifier.cs
- AdapterDictionary.cs
- DoubleLinkListEnumerator.cs
- StructuredTypeEmitter.cs
- CompilerGlobalScopeAttribute.cs
- FileDialog.cs
- ImageIndexConverter.cs
- LogicalExpr.cs
- GeneratedContractType.cs
- Repeater.cs
- SchemaTableOptionalColumn.cs
- ListSortDescriptionCollection.cs
- ExpressionParser.cs
- WindowsContainer.cs
- EmbeddedMailObjectCollectionEditor.cs
- StrokeNodeData.cs
- Descriptor.cs
- BitmapEncoder.cs
- FixedPageAutomationPeer.cs
- DropTarget.cs
- CloudCollection.cs
- TextTreeExtractElementUndoUnit.cs
- AutomationEvent.cs
- CacheHelper.cs
- SoapAttributes.cs
- BamlTreeMap.cs
- MergePropertyDescriptor.cs
- DrawingContextWalker.cs
- HMACSHA256.cs
- SQLBytesStorage.cs
- AtlasWeb.Designer.cs
- documentsequencetextview.cs
- HttpListenerRequest.cs
- HtmlTextBoxAdapter.cs
- TextEvent.cs
- RootDesignerSerializerAttribute.cs
- DaylightTime.cs