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
- DataTableCollection.cs
- ListViewGroupItemCollection.cs
- Style.cs
- TypographyProperties.cs
- EventPropertyMap.cs
- ToolStripArrowRenderEventArgs.cs
- ItemsControl.cs
- HeaderUtility.cs
- ExpressionNode.cs
- XmlDomTextWriter.cs
- SemaphoreFullException.cs
- ByteStream.cs
- ToolboxComponentsCreatedEventArgs.cs
- RoutedEventValueSerializer.cs
- ICollection.cs
- FontFaceLayoutInfo.cs
- FunctionNode.cs
- ChannelServices.cs
- FrameworkElement.cs
- ListViewCommandEventArgs.cs
- MiniConstructorInfo.cs
- CapabilitiesUse.cs
- PartialList.cs
- SafeBuffer.cs
- HtmlInputSubmit.cs
- DefaultExpressionVisitor.cs
- APCustomTypeDescriptor.cs
- PropertyOverridesDialog.cs
- ApplicationSecurityInfo.cs
- SafeFileMappingHandle.cs
- URIFormatException.cs
- PropertyValueUIItem.cs
- EntityDataSourceStatementEditorForm.cs
- SimpleApplicationHost.cs
- InputLanguage.cs
- TableLayoutStyleCollection.cs
- Collection.cs
- WsatConfiguration.cs
- XmlTextReaderImplHelpers.cs
- ParseHttpDate.cs
- QuarticEase.cs
- PassportPrincipal.cs
- SoapTypeAttribute.cs
- XmlSchemaFacet.cs
- TypeConverterHelper.cs
- FullTextState.cs
- _ProxyChain.cs
- CursorInteropHelper.cs
- SchemaTableOptionalColumn.cs
- FormsAuthenticationModule.cs
- XsltLoader.cs
- DataGridViewLinkCell.cs
- ElementFactory.cs
- CommandArguments.cs
- SelectionPattern.cs
- objectquery_tresulttype.cs
- ExtractedStateEntry.cs
- ColumnMapCopier.cs
- AbandonedMutexException.cs
- ConfigXmlElement.cs
- ResourceContainer.cs
- ResourceWriter.cs
- METAHEADER.cs
- XamlToRtfParser.cs
- ObjectDataSourceMethodEventArgs.cs
- ServiceModelDictionary.cs
- DataObject.cs
- SQLInt32.cs
- LinkArea.cs
- ExpressionVisitorHelpers.cs
- compensatingcollection.cs
- Pool.cs
- TrackingStringDictionary.cs
- AdCreatedEventArgs.cs
- ObjectListShowCommandsEventArgs.cs
- WebChannelFactory.cs
- TextBounds.cs
- WebPartTransformerAttribute.cs
- WindowsContainer.cs
- IImplicitResourceProvider.cs
- DataObject.cs
- AutomationTextAttribute.cs
- ComponentChangedEvent.cs
- DbConnectionStringCommon.cs
- ParameterCollectionEditor.cs
- PropertyGridEditorPart.cs
- MenuItem.cs
- CompiledIdentityConstraint.cs
- TextComposition.cs
- AudioStateChangedEventArgs.cs
- DataGridViewSortCompareEventArgs.cs
- AssociatedControlConverter.cs
- TableCell.cs
- DispatcherEventArgs.cs
- MimePart.cs
- WindowsSolidBrush.cs
- HttpCacheParams.cs
- MissingMemberException.cs
- MemberHolder.cs
- SimpleTextLine.cs