Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SEHException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- BamlLocalizationDictionary.cs
- IsolatedStorageFilePermission.cs
- DBNull.cs
- TraceUtility.cs
- BitmapImage.cs
- SizeAnimation.cs
- baseshape.cs
- TerminatingOperationBehavior.cs
- MessageSecurityException.cs
- DocumentScope.cs
- EventProvider.cs
- HyperLinkField.cs
- XpsResourceDictionary.cs
- BasicDesignerLoader.cs
- ConfigXmlSignificantWhitespace.cs
- Operators.cs
- ImagingCache.cs
- EntityDataSourceView.cs
- ParenExpr.cs
- DataGridViewTopRowAccessibleObject.cs
- TrackBar.cs
- Propagator.ExtentPlaceholderCreator.cs
- CLSCompliantAttribute.cs
- ToolTip.cs
- DocumentPaginator.cs
- MergablePropertyAttribute.cs
- externdll.cs
- DesignerForm.cs
- ProjectionPlanCompiler.cs
- NetTcpSection.cs
- WebPartPersonalization.cs
- Label.cs
- ConstraintCollection.cs
- TagElement.cs
- PropertyMapper.cs
- DictionarySectionHandler.cs
- Win32Exception.cs
- IteratorDescriptor.cs
- AttachedPropertyInfo.cs
- ProxyHelper.cs
- IDReferencePropertyAttribute.cs
- ThicknessKeyFrameCollection.cs
- SqlClientPermission.cs
- SystemException.cs
- EncryptedPackageFilter.cs
- Utils.cs
- AddInToken.cs
- UIntPtr.cs
- SymbolResolver.cs
- WinFormsUtils.cs
- DataBinding.cs
- HtmlElementCollection.cs
- ScriptResourceAttribute.cs
- UIElementParagraph.cs
- SqlError.cs
- EditingCommands.cs
- InvokePatternIdentifiers.cs
- DataSourceCache.cs
- PageAction.cs
- DataTransferEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- IdnMapping.cs
- StaticTextPointer.cs
- DispatchProxy.cs
- CompilationLock.cs
- CalendarDesigner.cs
- WebRequestModuleElementCollection.cs
- HtmlLink.cs
- SettingsContext.cs
- EdmSchemaAttribute.cs
- InkCanvasSelection.cs
- Invariant.cs
- MiniAssembly.cs
- TemplatedMailWebEventProvider.cs
- Pkcs7Recipient.cs
- AsmxEndpointPickerExtension.cs
- Focus.cs
- ClientScriptManager.cs
- Delegate.cs
- ComponentSerializationService.cs
- ContextMenu.cs
- SchemaTableOptionalColumn.cs
- CancellableEnumerable.cs
- FileDialogCustomPlace.cs
- UserControlCodeDomTreeGenerator.cs
- Button.cs
- Image.cs
- SspiHelper.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- HttpContextBase.cs
- HtmlInputSubmit.cs
- SoapIgnoreAttribute.cs
- GenericRootAutomationPeer.cs
- URIFormatException.cs
- GridView.cs
- DrawingAttributesDefaultValueFactory.cs
- SignedXml.cs
- CodeLinePragma.cs
- RelationshipConverter.cs
- InvalidPropValue.cs