Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TransportDefaults.cs
- XmlWhitespace.cs
- AsyncPostBackErrorEventArgs.cs
- MimeFormReflector.cs
- QueryRewriter.cs
- GlyphShapingProperties.cs
- XmlSchemaRedefine.cs
- ServerValidateEventArgs.cs
- SmtpNtlmAuthenticationModule.cs
- ComPlusSynchronizationContext.cs
- ColorTransformHelper.cs
- Parameter.cs
- PolyLineSegment.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CalendarDay.cs
- DrawingImage.cs
- ApplyImportsAction.cs
- EdgeModeValidation.cs
- HitTestFilterBehavior.cs
- GeometryModel3D.cs
- CodeTryCatchFinallyStatement.cs
- GridView.cs
- CodeTypeDelegate.cs
- WebPartVerb.cs
- EventWaitHandleSecurity.cs
- DataGridItemEventArgs.cs
- ImageCollectionEditor.cs
- FakeModelPropertyImpl.cs
- PasswordRecovery.cs
- InvalidDataException.cs
- ZoneMembershipCondition.cs
- ApplicationSettingsBase.cs
- StringDictionary.cs
- ColumnHeaderCollectionEditor.cs
- OrderByLifter.cs
- StackOverflowException.cs
- CodeArgumentReferenceExpression.cs
- Point3DAnimation.cs
- CookielessHelper.cs
- GenericRootAutomationPeer.cs
- GraphicsState.cs
- FrameDimension.cs
- TextTrailingCharacterEllipsis.cs
- Button.cs
- XsdDataContractImporter.cs
- EvidenceBase.cs
- GlobalProxySelection.cs
- DataKey.cs
- CmsInterop.cs
- EdmPropertyAttribute.cs
- CompilerGlobalScopeAttribute.cs
- ListViewItemSelectionChangedEvent.cs
- XmlName.cs
- TokenCreationException.cs
- Keywords.cs
- PagesSection.cs
- ZeroOpNode.cs
- ParseNumbers.cs
- DbConnectionPoolOptions.cs
- HwndPanningFeedback.cs
- HtmlValidatorAdapter.cs
- ObjectViewQueryResultData.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ExceptionValidationRule.cs
- CookieProtection.cs
- XamlToRtfParser.cs
- PageEventArgs.cs
- SafeHandle.cs
- DataSourceHelper.cs
- CrossContextChannel.cs
- ScriptMethodAttribute.cs
- XPathParser.cs
- ProfilePropertyNameValidator.cs
- AddInDeploymentState.cs
- DesignRelation.cs
- MouseEvent.cs
- SiteMapNode.cs
- PublisherIdentityPermission.cs
- DBParameter.cs
- ToolZoneDesigner.cs
- UIElement.cs
- UriExt.cs
- RefExpr.cs
- InternalBufferOverflowException.cs
- BrowserCapabilitiesFactory.cs
- DataGridViewRowPrePaintEventArgs.cs
- BitmapSizeOptions.cs
- HostProtectionException.cs
- TabPage.cs
- XmlTextReaderImplHelpers.cs
- SchemaMapping.cs
- JournalEntry.cs
- DurableOperationContext.cs
- ListViewUpdateEventArgs.cs
- ModelUIElement3D.cs
- LineBreakRecord.cs
- dataprotectionpermission.cs
- SimpleWebHandlerParser.cs
- BooleanAnimationBase.cs
- PtsPage.cs