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
- Message.cs
- Separator.cs
- ISAPIApplicationHost.cs
- ConnectionsZone.cs
- DataGridViewAdvancedBorderStyle.cs
- DataGridViewCellEventArgs.cs
- SafeSecurityHelper.cs
- Triplet.cs
- OLEDB_Enum.cs
- ComplusTypeValidator.cs
- ValidatorUtils.cs
- XamlPoint3DCollectionSerializer.cs
- XmlUnspecifiedAttribute.cs
- DrawListViewSubItemEventArgs.cs
- TemplateBindingExpressionConverter.cs
- EnumUnknown.cs
- SvcMapFile.cs
- CodeTypeMember.cs
- SafeHandle.cs
- UInt64.cs
- ResourceContainerWrapper.cs
- TextFormatterImp.cs
- DecoratedNameAttribute.cs
- ScrollChangedEventArgs.cs
- MsmqIntegrationBindingCollectionElement.cs
- TcpSocketManager.cs
- DesignTimeVisibleAttribute.cs
- BitVector32.cs
- IriParsingElement.cs
- TrackingServices.cs
- SqlFacetAttribute.cs
- Vector3dCollection.cs
- ApplicationProxyInternal.cs
- CodeValidator.cs
- SystemWebCachingSectionGroup.cs
- LinkedList.cs
- codemethodreferenceexpression.cs
- AddInSegmentDirectoryNotFoundException.cs
- URIFormatException.cs
- HierarchicalDataBoundControl.cs
- TTSEvent.cs
- SecurityHelper.cs
- Brushes.cs
- ObjRef.cs
- WinEventTracker.cs
- ImplicitInputBrush.cs
- Int32CAMarshaler.cs
- PerfCounters.cs
- DataListItemEventArgs.cs
- WindowsUpDown.cs
- SendKeys.cs
- TargetException.cs
- EditableRegion.cs
- BrowserCapabilitiesFactory.cs
- StatusBarAutomationPeer.cs
- diagnosticsswitches.cs
- CompilerErrorCollection.cs
- XNodeSchemaApplier.cs
- Compilation.cs
- ParserOptions.cs
- BlurBitmapEffect.cs
- ProxyDataContractResolver.cs
- JapaneseCalendar.cs
- IteratorDescriptor.cs
- DesigntimeLicenseContext.cs
- InteropAutomationProvider.cs
- SystemResources.cs
- BitmapEffectCollection.cs
- ScaleTransform.cs
- XmlArrayAttribute.cs
- EntityContainerEmitter.cs
- ReadOnlyHierarchicalDataSource.cs
- TypeHelpers.cs
- DocumentDesigner.cs
- EventLogger.cs
- Int32AnimationUsingKeyFrames.cs
- Brushes.cs
- WebPartMenu.cs
- SqlBulkCopyColumnMapping.cs
- ProtectedUri.cs
- HtmlElementCollection.cs
- DES.cs
- BitmapEffectState.cs
- TextEffect.cs
- DataGridViewColumnTypeEditor.cs
- SqlClientMetaDataCollectionNames.cs
- ExeConfigurationFileMap.cs
- LoginUtil.cs
- ValidatorCollection.cs
- AutomationAttributeInfo.cs
- String.cs
- DocumentationServerProtocol.cs
- XMLDiffLoader.cs
- Canvas.cs
- SafeRightsManagementPubHandle.cs
- HwndSource.cs
- EditorZoneBase.cs
- DoubleLinkListEnumerator.cs
- WindowsListViewGroup.cs
- OpCodes.cs