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
- DocumentPageView.cs
- BinHexDecoder.cs
- DataGridViewComponentPropertyGridSite.cs
- ObjectComplexPropertyMapping.cs
- DataGridColumnCollectionEditor.cs
- MediaPlayer.cs
- FailedToStartupUIException.cs
- LinearGradientBrush.cs
- CompositeDuplexElement.cs
- ZipIOExtraField.cs
- OleServicesContext.cs
- NativeCppClassAttribute.cs
- HtmlElementEventArgs.cs
- ProgressPage.cs
- XmlUnspecifiedAttribute.cs
- JsonClassDataContract.cs
- Opcode.cs
- XmlUtilWriter.cs
- HtmlShim.cs
- BitmapDownload.cs
- InputDevice.cs
- FigureParagraph.cs
- IgnoreSectionHandler.cs
- ObjectQueryProvider.cs
- EntitySqlQueryCacheEntry.cs
- SqlProcedureAttribute.cs
- RadioButtonFlatAdapter.cs
- WebPartCollection.cs
- TargetInvocationException.cs
- CapiHashAlgorithm.cs
- _NtlmClient.cs
- DataSourceCacheDurationConverter.cs
- PeerCollaboration.cs
- Rectangle.cs
- CodeBinaryOperatorExpression.cs
- FrameworkContentElementAutomationPeer.cs
- SqlStatistics.cs
- ClockController.cs
- XmlQueryStaticData.cs
- ToolbarAUtomationPeer.cs
- SendKeys.cs
- BaseCodePageEncoding.cs
- WizardForm.cs
- ModelTreeEnumerator.cs
- MouseButtonEventArgs.cs
- DocumentPageView.cs
- NominalTypeEliminator.cs
- SingleTagSectionHandler.cs
- XmlElementElementCollection.cs
- Canvas.cs
- GenerateHelper.cs
- ValidatorCompatibilityHelper.cs
- RowBinding.cs
- Menu.cs
- SiteMap.cs
- SecurityKeyType.cs
- TemplateComponentConnector.cs
- ContainerUIElement3D.cs
- SamlDoNotCacheCondition.cs
- RuleSettings.cs
- CreationContext.cs
- RtType.cs
- _ChunkParse.cs
- PathTooLongException.cs
- AutomationPropertyInfo.cs
- CalendarTable.cs
- Padding.cs
- InstalledFontCollection.cs
- MimeMultiPart.cs
- Event.cs
- SchemaTableOptionalColumn.cs
- InstanceLockedException.cs
- PasswordDeriveBytes.cs
- HttpWebResponse.cs
- ExternalFile.cs
- WeakEventManager.cs
- ComponentRenameEvent.cs
- IdentityHolder.cs
- ColorKeyFrameCollection.cs
- ContainerParagraph.cs
- CapabilitiesUse.cs
- AttachmentService.cs
- DbgCompiler.cs
- ProgramNode.cs
- NativeMethods.cs
- Binding.cs
- TextRange.cs
- CodeParameterDeclarationExpressionCollection.cs
- Geometry.cs
- RemotingService.cs
- sqlstateclientmanager.cs
- ListItem.cs
- DataObjectCopyingEventArgs.cs
- NumericUpDown.cs
- CharConverter.cs
- MultiPropertyDescriptorGridEntry.cs
- CodeTypeReferenceCollection.cs
- Size3DConverter.cs
- IResourceProvider.cs
- LinkedResource.cs