Code:
/ FX-1434 / FX-1434 / 1.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
- ModulesEntry.cs
- SoapReflectionImporter.cs
- CodeExpressionCollection.cs
- XslException.cs
- PageOrientation.cs
- ResourceManager.cs
- Bidi.cs
- GridErrorDlg.cs
- PersonalizableAttribute.cs
- RbTree.cs
- TableRowGroup.cs
- Control.cs
- DocumentPageViewAutomationPeer.cs
- ConnectionsZone.cs
- AttachedProperty.cs
- WindowInteropHelper.cs
- SpecialNameAttribute.cs
- WhileDesigner.xaml.cs
- IChannel.cs
- ContainerUIElement3D.cs
- ContractBase.cs
- WebPartUserCapability.cs
- ArraySortHelper.cs
- HealthMonitoringSection.cs
- GlyphShapingProperties.cs
- BrowserCapabilitiesFactory.cs
- XmlNode.cs
- PrePrepareMethodAttribute.cs
- XmlSignatureManifest.cs
- RegexWorker.cs
- ListBoxItemAutomationPeer.cs
- SQLInt16Storage.cs
- TextCharacters.cs
- TextEffect.cs
- FrameworkElementAutomationPeer.cs
- ThousandthOfEmRealPoints.cs
- InvalidFilterCriteriaException.cs
- ScriptRef.cs
- SqlLiftIndependentRowExpressions.cs
- XmlDictionary.cs
- ArraySegment.cs
- InputScope.cs
- XmlnsCache.cs
- DbDataReader.cs
- WebPartVerbCollection.cs
- ObjectParameter.cs
- BooleanSwitch.cs
- TemplateBindingExpression.cs
- DelegateBodyWriter.cs
- Content.cs
- Configuration.cs
- ConnectionString.cs
- StandardCommands.cs
- MouseBinding.cs
- ContractDescription.cs
- followingsibling.cs
- NativeWrapper.cs
- BinaryNode.cs
- MaskedTextBoxDesigner.cs
- ArgumentException.cs
- NodeLabelEditEvent.cs
- ObjectConverter.cs
- ListControlDataBindingHandler.cs
- Opcode.cs
- X509WindowsSecurityToken.cs
- DesignerProperties.cs
- MultilineStringConverter.cs
- ConfigXmlAttribute.cs
- FormView.cs
- QilScopedVisitor.cs
- ToolStripRendererSwitcher.cs
- DispatchWrapper.cs
- CodeIndexerExpression.cs
- ProxyHwnd.cs
- GlobalDataBindingHandler.cs
- ListBox.cs
- EmptyTextWriter.cs
- Vector3DAnimation.cs
- Win32.cs
- MdiWindowListItemConverter.cs
- Calendar.cs
- XMLSyntaxException.cs
- ReturnEventArgs.cs
- TokenDescriptor.cs
- EntityRecordInfo.cs
- Int32Storage.cs
- XmlImplementation.cs
- HTTPNotFoundHandler.cs
- AtomServiceDocumentSerializer.cs
- Context.cs
- ButtonFieldBase.cs
- StatusBarPanel.cs
- FieldValue.cs
- _SingleItemRequestCache.cs
- AddToCollection.cs
- UnsafeNativeMethods.cs
- IntegrationExceptionEventArgs.cs
- DataSourceCache.cs
- SafeMILHandleMemoryPressure.cs
- DataRelation.cs