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
- AutomationPatternInfo.cs
- Normalizer.cs
- CoreSwitches.cs
- Delegate.cs
- ProfileEventArgs.cs
- SwitchAttribute.cs
- NetCodeGroup.cs
- TabItemAutomationPeer.cs
- CodeTypeDelegate.cs
- ObjectPropertyMapping.cs
- ExpressionPrinter.cs
- ButtonBase.cs
- CustomTrackingQuery.cs
- MexBindingBindingCollectionElement.cs
- PropertyChangedEventManager.cs
- DataGridViewSortCompareEventArgs.cs
- DeriveBytes.cs
- SinglePhaseEnlistment.cs
- Viewport3DAutomationPeer.cs
- EncodingDataItem.cs
- AlternationConverter.cs
- XPathNode.cs
- DynamicUpdateCommand.cs
- XPathSelfQuery.cs
- Int64Converter.cs
- BuildProviderAppliesToAttribute.cs
- RawContentTypeMapper.cs
- MissingManifestResourceException.cs
- ProtectedConfigurationProviderCollection.cs
- DataGridColumnHeaderAutomationPeer.cs
- ResourceAssociationTypeEnd.cs
- WorkflowServiceNamespace.cs
- SmtpSection.cs
- FileUpload.cs
- HttpWebResponse.cs
- RuntimeCompatibilityAttribute.cs
- _LocalDataStoreMgr.cs
- TransactionBridge.cs
- MexTcpBindingElement.cs
- CompositeControl.cs
- VersionPair.cs
- RepeatBehavior.cs
- SQLString.cs
- SymbolType.cs
- GeometryModel3D.cs
- HttpListenerPrefixCollection.cs
- SqlMethodAttribute.cs
- PeerInputChannel.cs
- FilteredAttributeCollection.cs
- AuthenticatedStream.cs
- LineInfo.cs
- WeakEventManager.cs
- ToolStripDropDownMenu.cs
- PasswordDeriveBytes.cs
- TraceHwndHost.cs
- EncoderFallback.cs
- CryptoApi.cs
- RequestQueryParser.cs
- XmlSchemaInclude.cs
- KeyTime.cs
- SingleConverter.cs
- Rectangle.cs
- Parallel.cs
- IdSpace.cs
- SmiGettersStream.cs
- XmlnsDefinitionAttribute.cs
- InternalCompensate.cs
- DaylightTime.cs
- TransformConverter.cs
- StreamingContext.cs
- NativeMethods.cs
- WorkflowDataContext.cs
- ResourceAssociationTypeEnd.cs
- XamlWriter.cs
- UpdatableGenericsFeature.cs
- EventTask.cs
- PackWebRequest.cs
- SchemaInfo.cs
- ReachSerializerAsync.cs
- smtppermission.cs
- BlurBitmapEffect.cs
- HandlerFactoryCache.cs
- EditCommandColumn.cs
- CapabilitiesState.cs
- Debugger.cs
- ResourceExpression.cs
- EncodingNLS.cs
- TraversalRequest.cs
- RefType.cs
- DataBoundLiteralControl.cs
- RotateTransform3D.cs
- WebPartExportVerb.cs
- FontStyles.cs
- CustomAttributeFormatException.cs
- DisplayMemberTemplateSelector.cs
- QuaternionValueSerializer.cs
- ColumnReorderedEventArgs.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- WebPartConnectionsConnectVerb.cs
- AutomationPropertyInfo.cs