Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContentDisposition.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- DriveInfo.cs
- ClientType.cs
- MenuAdapter.cs
- SqlCharStream.cs
- BitmapEffectGroup.cs
- UnsafeNetInfoNativeMethods.cs
- RequestStatusBarUpdateEventArgs.cs
- rsa.cs
- CompModSwitches.cs
- PresentationTraceSources.cs
- UInt64Converter.cs
- WorkflowHostingEndpoint.cs
- CompilationUtil.cs
- ConstructorExpr.cs
- EdmItemError.cs
- TrackingStringDictionary.cs
- WsdlInspector.cs
- ISAPIRuntime.cs
- FrameworkContentElement.cs
- Renderer.cs
- ThicknessConverter.cs
- SoapReflectionImporter.cs
- PresentationAppDomainManager.cs
- ValidateNames.cs
- InkSerializer.cs
- HostedAspNetEnvironment.cs
- StylusPointProperties.cs
- HtmlTableRow.cs
- InvalidateEvent.cs
- AnimationException.cs
- DateTimeOffsetConverter.cs
- ReachSerializationCacheItems.cs
- DataGridHyperlinkColumn.cs
- OracleDataAdapter.cs
- ProcessInfo.cs
- BamlBinaryReader.cs
- ContentTypeSettingClientMessageFormatter.cs
- HtmlTernaryTree.cs
- CapabilitiesRule.cs
- RevocationPoint.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- DataGridViewRow.cs
- TextServicesLoader.cs
- PrintingPermissionAttribute.cs
- EntityDataSourceContextCreatedEventArgs.cs
- ObjectConverter.cs
- RangeContentEnumerator.cs
- ImportCatalogPart.cs
- Quaternion.cs
- SizeF.cs
- LockCookie.cs
- FormatStringEditor.cs
- WsdlHelpGeneratorElement.cs
- StringComparer.cs
- NetPeerTcpBinding.cs
- SetterBaseCollection.cs
- PopupRootAutomationPeer.cs
- __ConsoleStream.cs
- FixedSOMFixedBlock.cs
- WebBrowser.cs
- BamlResourceDeserializer.cs
- ISAPIWorkerRequest.cs
- Label.cs
- RegistrySecurity.cs
- TreeIterators.cs
- ScalarRestriction.cs
- Boolean.cs
- ResourceManager.cs
- PeerNameRegistration.cs
- HttpContext.cs
- HttpListener.cs
- ModelTreeEnumerator.cs
- FigureParagraph.cs
- WindowsIdentity.cs
- EastAsianLunisolarCalendar.cs
- DataGridViewLayoutData.cs
- EventItfInfo.cs
- BinarySerializer.cs
- ConfigXmlSignificantWhitespace.cs
- BaseTemplateParser.cs
- LocatorPart.cs
- UpDownEvent.cs
- ListViewGroupConverter.cs
- XmlQueryType.cs
- ConstraintEnumerator.cs
- PasswordRecovery.cs
- BulletChrome.cs
- DataGridViewSelectedCellCollection.cs
- ChineseLunisolarCalendar.cs
- ConfigurationValue.cs
- ToolStripPanelCell.cs
- MenuItemCollection.cs
- OrderablePartitioner.cs
- TransportBindingElementImporter.cs
- XmlSchemaSubstitutionGroup.cs
- SocketAddress.cs
- AccessText.cs
- ValidateNames.cs