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
- XmlSchemaAttribute.cs
- TdsParserStaticMethods.cs
- XmlWrappingReader.cs
- EventWaitHandleSecurity.cs
- AuthenticateEventArgs.cs
- _CookieModule.cs
- RootBrowserWindowProxy.cs
- PeerContact.cs
- Point3DValueSerializer.cs
- DefaultAutoFieldGenerator.cs
- ColorTransform.cs
- SemaphoreFullException.cs
- InternalsVisibleToAttribute.cs
- CodeAccessPermission.cs
- ThreadInterruptedException.cs
- GenericWebPart.cs
- PolyLineSegmentFigureLogic.cs
- FormsAuthenticationModule.cs
- DataControlPagerLinkButton.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Queue.cs
- messageonlyhwndwrapper.cs
- AdCreatedEventArgs.cs
- LinqDataSource.cs
- XPathChildIterator.cs
- ApplicationBuildProvider.cs
- UInt32Storage.cs
- ScrollItemPatternIdentifiers.cs
- StringValidator.cs
- CqlErrorHelper.cs
- EncoderNLS.cs
- NativeMethods.cs
- UnknownBitmapDecoder.cs
- MailBnfHelper.cs
- _CacheStreams.cs
- LeafCellTreeNode.cs
- Missing.cs
- TokenizerHelper.cs
- ContainerParaClient.cs
- MessageDispatch.cs
- XmlSerializerFaultFormatter.cs
- TileBrush.cs
- RuntimeHandles.cs
- WebControlsSection.cs
- InputScopeNameConverter.cs
- TrackingMemoryStreamFactory.cs
- RijndaelManagedTransform.cs
- BitmapSourceSafeMILHandle.cs
- DocumentEventArgs.cs
- LocatorManager.cs
- CustomCategoryAttribute.cs
- CompositeDuplexBindingElementImporter.cs
- HandlerWithFactory.cs
- PropertyAccessVisitor.cs
- NetworkAddressChange.cs
- documentsequencetextcontainer.cs
- ParsedAttributeCollection.cs
- StopStoryboard.cs
- SvcMapFile.cs
- PanelDesigner.cs
- PointAnimation.cs
- XmlQueryTypeFactory.cs
- EntityConnection.cs
- FontNamesConverter.cs
- Win32Exception.cs
- WebCategoryAttribute.cs
- InternalsVisibleToAttribute.cs
- PluralizationService.cs
- MemoryMappedView.cs
- AutoGeneratedFieldProperties.cs
- Color.cs
- FullTextLine.cs
- MimeTypeMapper.cs
- OletxEnlistment.cs
- DataTableTypeConverter.cs
- EtwProvider.cs
- DesignerListAdapter.cs
- TableCellAutomationPeer.cs
- Compiler.cs
- EndpointIdentityExtension.cs
- ColumnResizeAdorner.cs
- WebBrowser.cs
- QilXmlWriter.cs
- SqlProcedureAttribute.cs
- XamlToRtfWriter.cs
- Scheduler.cs
- AdCreatedEventArgs.cs
- Msec.cs
- FactoryGenerator.cs
- AnnotationMap.cs
- WsdlInspector.cs
- DispatcherHooks.cs
- SqlDataSourceFilteringEventArgs.cs
- OSFeature.cs
- RightsManagementSuppressedStream.cs
- StsCommunicationException.cs
- EntityCodeGenerator.cs
- Margins.cs
- AssemblyUtil.cs
- Storyboard.cs