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
- CustomAttributeBuilder.cs
- ToolStripKeyboardHandlingService.cs
- JsonUriDataContract.cs
- HttpRequestCacheValidator.cs
- WeakReferenceList.cs
- Rect.cs
- HierarchicalDataBoundControlAdapter.cs
- Package.cs
- ExtenderHelpers.cs
- TimerExtension.cs
- coordinatorscratchpad.cs
- XmlAttributes.cs
- PostBackOptions.cs
- DescriptionAttribute.cs
- PackageRelationshipCollection.cs
- TabletDevice.cs
- Tool.cs
- DbConnectionOptions.cs
- oledbmetadatacolumnnames.cs
- SecurityContextCookieSerializer.cs
- GroupDescription.cs
- PageThemeParser.cs
- FixedSOMPage.cs
- MulticastOption.cs
- Light.cs
- ClientTarget.cs
- COSERVERINFO.cs
- DataProtection.cs
- OdbcTransaction.cs
- PresentationAppDomainManager.cs
- FormsIdentity.cs
- UnsafeNativeMethods.cs
- RequestCachePolicyConverter.cs
- PopupRootAutomationPeer.cs
- FilterFactory.cs
- EventWaitHandleSecurity.cs
- FormsAuthenticationEventArgs.cs
- AsymmetricKeyExchangeDeformatter.cs
- XPathArrayIterator.cs
- XamlTemplateSerializer.cs
- TableDetailsRow.cs
- IFlowDocumentViewer.cs
- LinkLabelLinkClickedEvent.cs
- DynamicDocumentPaginator.cs
- PlainXmlWriter.cs
- InheritanceContextChangedEventManager.cs
- Calendar.cs
- PaperSize.cs
- ColumnResizeAdorner.cs
- SystemThemeKey.cs
- UserControlAutomationPeer.cs
- SingleAnimationBase.cs
- KeyPressEvent.cs
- RuleCache.cs
- KeyManager.cs
- ColorTransformHelper.cs
- _SSPIWrapper.cs
- TemplateControlParser.cs
- SystemInfo.cs
- HtmlMeta.cs
- SerialPort.cs
- MDIClient.cs
- DebugController.cs
- DateTimeConstantAttribute.cs
- Context.cs
- ExpressionParser.cs
- ColorAnimationBase.cs
- LocalizeDesigner.cs
- ReadOnlyCollection.cs
- StrongNameUtility.cs
- RsaSecurityTokenAuthenticator.cs
- ExponentialEase.cs
- Header.cs
- Exceptions.cs
- AssemblyInfo.cs
- MarkupCompilePass1.cs
- SettingsPropertyNotFoundException.cs
- TransferRequestHandler.cs
- COM2IPerPropertyBrowsingHandler.cs
- MultiTrigger.cs
- SmtpDigestAuthenticationModule.cs
- SpellerHighlightLayer.cs
- RegularExpressionValidator.cs
- StringToken.cs
- PointAnimationBase.cs
- BaseTreeIterator.cs
- InkPresenter.cs
- SystemEvents.cs
- EntityType.cs
- WorkflowQueuingService.cs
- SafeNativeMemoryHandle.cs
- XmlDataSourceNodeDescriptor.cs
- SHA384Managed.cs
- NotificationContext.cs
- DBSchemaRow.cs
- Pair.cs
- ObjectItemCachedAssemblyLoader.cs
- TransactionContext.cs
- SerTrace.cs
- DispatcherHooks.cs