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
- ApplicationGesture.cs
- PointLightBase.cs
- SplitterEvent.cs
- AuthenticationSection.cs
- DetailsViewRowCollection.cs
- MetaData.cs
- MenuItemCollection.cs
- listitem.cs
- DateTimeOffsetStorage.cs
- DynamicResourceExtension.cs
- FolderBrowserDialogDesigner.cs
- SelectionRange.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Page.cs
- OpenTypeLayout.cs
- TextTreeUndo.cs
- CodeTypeParameterCollection.cs
- XmlSchemaObject.cs
- DSASignatureDeformatter.cs
- TabItemAutomationPeer.cs
- returneventsaver.cs
- PersonalizationProviderHelper.cs
- WindowsRebar.cs
- CheckBoxBaseAdapter.cs
- PrintPageEvent.cs
- ValueUtilsSmi.cs
- ListViewGroupConverter.cs
- FlowDecisionLabelFeature.cs
- OutputCacheProfileCollection.cs
- GeometryGroup.cs
- Crc32.cs
- WsdlInspector.cs
- ToolStripScrollButton.cs
- ColumnMapCopier.cs
- AccessedThroughPropertyAttribute.cs
- WeakReferenceKey.cs
- AuthorizationSection.cs
- UrlAuthFailureHandler.cs
- ApplicationServicesHostFactory.cs
- DescendantOverDescendantQuery.cs
- TableLayoutStyleCollection.cs
- EntityCommandCompilationException.cs
- Form.cs
- ButtonDesigner.cs
- XmlHierarchicalDataSourceView.cs
- SqlNotificationEventArgs.cs
- SymbolMethod.cs
- PerformanceCounterPermission.cs
- ProfileBuildProvider.cs
- BitmapPalette.cs
- RangeValidator.cs
- CodeTypeDeclaration.cs
- CompleteWizardStep.cs
- GlyphShapingProperties.cs
- CompiledAction.cs
- SignatureConfirmations.cs
- ResetableIterator.cs
- InfoCardConstants.cs
- CFStream.cs
- AdornerPresentationContext.cs
- httpapplicationstate.cs
- ReferenceService.cs
- HostSecurityManager.cs
- EventHandlersDesigner.cs
- BulletedList.cs
- OperatorExpressions.cs
- FixedDSBuilder.cs
- IdleTimeoutMonitor.cs
- WhitespaceRuleReader.cs
- GridToolTip.cs
- DSASignatureDeformatter.cs
- TripleDESCryptoServiceProvider.cs
- SqlErrorCollection.cs
- RectangleConverter.cs
- StringFormat.cs
- ForwardPositionQuery.cs
- ViewGenerator.cs
- HostingEnvironmentException.cs
- ActiveXContainer.cs
- _BasicClient.cs
- ConstructorBuilder.cs
- BCryptNative.cs
- RefreshEventArgs.cs
- CqlParser.cs
- ResourcesChangeInfo.cs
- SafeLibraryHandle.cs
- ItemMap.cs
- ObjectDataSource.cs
- CursorConverter.cs
- RealizationDrawingContextWalker.cs
- AppSettingsExpressionBuilder.cs
- XmlCountingReader.cs
- StylusPointPropertyInfoDefaults.cs
- StrongNamePublicKeyBlob.cs
- LabelLiteral.cs
- DataBoundControl.cs
- ContentAlignmentEditor.cs
- TextEditorTyping.cs
- CssStyleCollection.cs
- ContainerParaClient.cs