Code:
/ DotNET / DotNET / 8.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
- PrtCap_Base.cs
- ErrorHandlingReceiver.cs
- RootDesignerSerializerAttribute.cs
- ListViewGroupConverter.cs
- CryptoApi.cs
- SingleSelectRootGridEntry.cs
- XmlSchemaAttributeGroupRef.cs
- LineSegment.cs
- filewebresponse.cs
- ProjectionPruner.cs
- StackSpiller.Generated.cs
- HierarchicalDataBoundControlAdapter.cs
- HelpInfo.cs
- FillRuleValidation.cs
- SystemTcpStatistics.cs
- TextTreeUndo.cs
- ToolStripItemTextRenderEventArgs.cs
- ConnectionStringsExpressionBuilder.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- TailCallAnalyzer.cs
- SuppressMessageAttribute.cs
- TypeElement.cs
- OpenFileDialog.cs
- TypeConverterValueSerializer.cs
- SqlCommandSet.cs
- ActivityDelegate.cs
- TdsParserSafeHandles.cs
- SystemException.cs
- Material.cs
- BuildProvidersCompiler.cs
- RowVisual.cs
- IndentedTextWriter.cs
- HttpConfigurationContext.cs
- DbConnectionOptions.cs
- QuestionEventArgs.cs
- Delegate.cs
- IntSecurity.cs
- Base64Encoder.cs
- ProfilePropertyNameValidator.cs
- updateconfighost.cs
- EntityDataSourceDataSelectionPanel.cs
- StatusStrip.cs
- ReadOnlyActivityGlyph.cs
- WindowsStatic.cs
- WebInvokeAttribute.cs
- SymDocumentType.cs
- BitmapEffectGeneralTransform.cs
- ClientApiGenerator.cs
- ElementFactory.cs
- ToolStripItemRenderEventArgs.cs
- StackBuilderSink.cs
- TextEditorSelection.cs
- ResourceDisplayNameAttribute.cs
- CodeSnippetExpression.cs
- _IPv6Address.cs
- GridViewRowPresenterBase.cs
- HttpWebRequestElement.cs
- Rotation3D.cs
- XmlCustomFormatter.cs
- ByValueEqualityComparer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ConfigurationStrings.cs
- ConvertEvent.cs
- ClipboardProcessor.cs
- XmlDataImplementation.cs
- ErrorEventArgs.cs
- ControlIdConverter.cs
- Section.cs
- CodeTypeDeclarationCollection.cs
- PropertyToken.cs
- X509Certificate.cs
- Int32.cs
- UniqueConstraint.cs
- PassportPrincipal.cs
- ListenerServiceInstallComponent.cs
- SynchronizedCollection.cs
- SqlCommandSet.cs
- FormViewDeleteEventArgs.cs
- TypeDelegator.cs
- RotateTransform.cs
- MediaScriptCommandRoutedEventArgs.cs
- XmlSchemaSubstitutionGroup.cs
- DataBoundControlHelper.cs
- FixedLineResult.cs
- TextRange.cs
- CompilationUtil.cs
- PlainXmlSerializer.cs
- TimersDescriptionAttribute.cs
- HyperLinkField.cs
- KeyInstance.cs
- SoapObjectWriter.cs
- DateTimeOffsetConverter.cs
- HttpServerVarsCollection.cs
- MarkupObject.cs
- HtmlTableCellCollection.cs
- ACL.cs
- Columns.cs
- OleAutBinder.cs
- RealizedColumnsBlock.cs
- OperationAbortedException.cs