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
- DesignerSerializationManager.cs
- SmiRequestExecutor.cs
- AnimationException.cs
- PropertyKey.cs
- UserControlParser.cs
- Properties.cs
- DataTemplateSelector.cs
- XmlDeclaration.cs
- QuotedPrintableStream.cs
- XmlSchemaValidator.cs
- UnitySerializationHolder.cs
- MediaElement.cs
- SafeMarshalContext.cs
- CheckBoxFlatAdapter.cs
- UnsafeNativeMethodsMilCoreApi.cs
- MediaPlayer.cs
- RegexCompilationInfo.cs
- ScriptControlManager.cs
- EventsTab.cs
- ListViewEditEventArgs.cs
- NotFiniteNumberException.cs
- EntityProviderServices.cs
- HostExecutionContextManager.cs
- ContentElement.cs
- KeyFrames.cs
- AuthenticateEventArgs.cs
- MdImport.cs
- FrameworkContentElementAutomationPeer.cs
- EntityDataSourceChangingEventArgs.cs
- FixedStringLookup.cs
- DbParameterCollectionHelper.cs
- BitmapEffectrendercontext.cs
- BevelBitmapEffect.cs
- TypeDescriptionProvider.cs
- DiscoveryServiceExtension.cs
- SqlDataSourceQueryEditorForm.cs
- SimpleModelProvider.cs
- PointCollection.cs
- ReachUIElementCollectionSerializer.cs
- TerminateDesigner.cs
- LayoutEngine.cs
- CompilerScopeManager.cs
- BaseCollection.cs
- Compiler.cs
- SafeEventLogReadHandle.cs
- KeyGestureConverter.cs
- MsmqProcessProtocolHandler.cs
- TableItemPattern.cs
- VirtualDirectoryMappingCollection.cs
- XmlSchemaFacet.cs
- AttributeEmitter.cs
- CompiledXpathExpr.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- ResourceType.cs
- SectionRecord.cs
- SizeIndependentAnimationStorage.cs
- DataRow.cs
- COM2ExtendedUITypeEditor.cs
- ListViewItemCollectionEditor.cs
- ActivityXRefPropertyEditor.cs
- ColorAnimation.cs
- SettingsPropertyNotFoundException.cs
- StorageInfo.cs
- OdbcFactory.cs
- CapabilitiesPattern.cs
- XsltOutput.cs
- TraceSection.cs
- ClientType.cs
- Registry.cs
- SerializationObjectManager.cs
- RadioButton.cs
- WindowsTitleBar.cs
- ProfileServiceManager.cs
- FixedSOMLineCollection.cs
- GregorianCalendarHelper.cs
- wmiprovider.cs
- ManipulationPivot.cs
- SystemColors.cs
- DispatcherProcessingDisabled.cs
- DurableDispatcherAddressingFault.cs
- RectangleConverter.cs
- OptionalRstParameters.cs
- PathFigure.cs
- ConfigDefinitionUpdates.cs
- WebEventTraceProvider.cs
- DetailsViewUpdateEventArgs.cs
- FontClient.cs
- Slider.cs
- ExpressionBuilderCollection.cs
- StringSorter.cs
- ProtectedConfigurationProviderCollection.cs
- BaseAddressElementCollection.cs
- SoapServerMethod.cs
- XmlUtil.cs
- FacetValueContainer.cs
- Rule.cs
- HttpHandlerAction.cs
- EditorZone.cs
- ToolStripHighContrastRenderer.cs
- TreeWalkHelper.cs