Code:
/ FX-1434 / FX-1434 / 1.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
- WebReference.cs
- ZipIOFileItemStream.cs
- FormsIdentity.cs
- ApplicationGesture.cs
- XPathException.cs
- RecognizerStateChangedEventArgs.cs
- DrawingDrawingContext.cs
- TextBox.cs
- SocketInformation.cs
- ClientClassGenerator.cs
- SafeUserTokenHandle.cs
- StrokeRenderer.cs
- AmbientLight.cs
- InputGestureCollection.cs
- XslVisitor.cs
- EventLogPermissionEntry.cs
- BaseUriHelper.cs
- PersonalizableAttribute.cs
- HuffCodec.cs
- WindowsPrincipal.cs
- EUCJPEncoding.cs
- TemplatePropertyEntry.cs
- WebPartDisplayModeCancelEventArgs.cs
- SoapAttributes.cs
- BitmapEffectInput.cs
- EntityDataSourceContextCreatingEventArgs.cs
- ToggleButton.cs
- ProviderBase.cs
- OleDbError.cs
- BaseResourcesBuildProvider.cs
- ScrollPatternIdentifiers.cs
- ScopeCollection.cs
- DataServiceQuery.cs
- SiteMapNodeItemEventArgs.cs
- _NestedSingleAsyncResult.cs
- TypeConverterMarkupExtension.cs
- RequestQueue.cs
- WorkflowTransactionOptions.cs
- HtmlToClrEventProxy.cs
- DbConnectionPool.cs
- PropertyMetadata.cs
- Latin1Encoding.cs
- OdbcConnection.cs
- RectangleHotSpot.cs
- GenericNameHandler.cs
- RenderTargetBitmap.cs
- TagMapCollection.cs
- PopupRootAutomationPeer.cs
- LabelAutomationPeer.cs
- UIElementParagraph.cs
- TdsEnums.cs
- BlobPersonalizationState.cs
- UseLicense.cs
- SimpleApplicationHost.cs
- ImportDesigner.xaml.cs
- DrawItemEvent.cs
- ControlUtil.cs
- LinqDataSourceSelectEventArgs.cs
- RegexWriter.cs
- ButtonStandardAdapter.cs
- SmiEventStream.cs
- Normalization.cs
- BufferedReceiveElement.cs
- HtmlLinkAdapter.cs
- ZipPackage.cs
- StyleHelper.cs
- AdRotator.cs
- DecimalAnimationBase.cs
- FixedPage.cs
- FileNameEditor.cs
- WebConfigurationManager.cs
- ImageInfo.cs
- PropertyGridEditorPart.cs
- GenericWebPart.cs
- DataIdProcessor.cs
- _SslSessionsCache.cs
- EditorPartCollection.cs
- CleanUpVirtualizedItemEventArgs.cs
- MessageProtectionOrder.cs
- XmlDataSource.cs
- HttpHandlersSection.cs
- AddInPipelineAttributes.cs
- DataViewManagerListItemTypeDescriptor.cs
- Classification.cs
- M3DUtil.cs
- KeyValuePair.cs
- GridViewDeleteEventArgs.cs
- LocalizationParserHooks.cs
- EditorZoneAutoFormat.cs
- QueryContinueDragEventArgs.cs
- TextSchema.cs
- ProviderSettingsCollection.cs
- ToolStripDropDownClosingEventArgs.cs
- TraceEventCache.cs
- WebBrowserUriTypeConverter.cs
- NumericUpDownAccelerationCollection.cs
- SqlMethodTransformer.cs
- XmlNodeReader.cs
- DbProviderManifest.cs
- XPathSelectionIterator.cs