Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RewritingValidator.cs
- HtmlControlDesigner.cs
- Attributes.cs
- FormView.cs
- ElementAction.cs
- WindowsBrush.cs
- KeyProperty.cs
- RuleSettings.cs
- DataObject.cs
- ConfigXmlSignificantWhitespace.cs
- ObjectStateEntryDbDataRecord.cs
- ClientTarget.cs
- InputReportEventArgs.cs
- GlobalizationSection.cs
- SafeViewOfFileHandle.cs
- EnumBuilder.cs
- XPathPatternBuilder.cs
- _AcceptOverlappedAsyncResult.cs
- ErrorProvider.cs
- SoapExtensionTypeElement.cs
- SpotLight.cs
- ListViewGroupCollectionEditor.cs
- BindingCompleteEventArgs.cs
- Quaternion.cs
- StreamInfo.cs
- ObjectPersistData.cs
- DataControlPagerLinkButton.cs
- ByteAnimation.cs
- Int16AnimationBase.cs
- CompressedStack.cs
- EventRoute.cs
- XmlSubtreeReader.cs
- OleDbPermission.cs
- Span.cs
- EnvironmentPermission.cs
- HostUtils.cs
- LongTypeConverter.cs
- x509utils.cs
- _NetRes.cs
- EncryptedData.cs
- SignedXml.cs
- TextRunCache.cs
- Point.cs
- LabelLiteral.cs
- ConversionContext.cs
- OciEnlistContext.cs
- SHA256Cng.cs
- DecodeHelper.cs
- DbXmlEnabledProviderManifest.cs
- ExpandableObjectConverter.cs
- ToolStripDesignerAvailabilityAttribute.cs
- TerminateDesigner.cs
- Part.cs
- Win32Native.cs
- PartitionResolver.cs
- OleDbParameterCollection.cs
- QuotedStringFormatReader.cs
- WebBrowserSiteBase.cs
- RoutedEventHandlerInfo.cs
- CheckPair.cs
- LocalFileSettingsProvider.cs
- PageStatePersister.cs
- _UncName.cs
- Setter.cs
- DataGridGeneralPage.cs
- SystemParameters.cs
- RawStylusInputCustomDataList.cs
- SecurityTokenValidationException.cs
- FixedTextView.cs
- XsdBuildProvider.cs
- SqlLiftWhereClauses.cs
- TextRangeAdaptor.cs
- VirtualPathProvider.cs
- ByteFacetDescriptionElement.cs
- DataControlPagerLinkButton.cs
- Point3DValueSerializer.cs
- MenuCommand.cs
- RuntimeConfigLKG.cs
- Visual.cs
- Viewport3DAutomationPeer.cs
- TriState.cs
- JumpPath.cs
- HandledMouseEvent.cs
- BridgeDataRecord.cs
- CategoryAttribute.cs
- InvalidOperationException.cs
- DynamicMetaObject.cs
- Timer.cs
- PageThemeParser.cs
- SecureStringHasher.cs
- FormsAuthentication.cs
- ToolStripItemCollection.cs
- CodeMemberMethod.cs
- XsdDateTime.cs
- DetailsViewPageEventArgs.cs
- EdmComplexPropertyAttribute.cs
- ScriptResourceHandler.cs
- MemberCollection.cs
- ScrollEventArgs.cs
- PageOutputColor.cs