Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TcpChannelHelper.cs
- DataGridColumnsPage.cs
- WindowInteropHelper.cs
- SpinLock.cs
- ExpressionParser.cs
- ObjectStateFormatter.cs
- ConvertersCollection.cs
- StoreItemCollection.Loader.cs
- ZipIOLocalFileHeader.cs
- TypeDescriptionProviderAttribute.cs
- DataGridColumnCollection.cs
- TextElementAutomationPeer.cs
- MatrixTransform.cs
- WindowsTooltip.cs
- CaseInsensitiveOrdinalStringComparer.cs
- HMACMD5.cs
- Clipboard.cs
- ProcessHostFactoryHelper.cs
- LoginName.cs
- TableColumn.cs
- DbDataReader.cs
- Scanner.cs
- WindowsFormsHelpers.cs
- TreeNodeBindingDepthConverter.cs
- State.cs
- _UriTypeConverter.cs
- TagElement.cs
- DesignTimeSiteMapProvider.cs
- ToolConsole.cs
- TickBar.cs
- TransactionFlowOption.cs
- XmlSchemaDocumentation.cs
- TextBoxBaseDesigner.cs
- FileFormatException.cs
- ActivatedMessageQueue.cs
- ExplicitDiscriminatorMap.cs
- HttpDictionary.cs
- base64Transforms.cs
- Screen.cs
- ImportContext.cs
- MsmqHostedTransportManager.cs
- HyperLink.cs
- ObjectAnimationUsingKeyFrames.cs
- ActivityDesignerResources.cs
- Themes.cs
- SqlAggregateChecker.cs
- X509WindowsSecurityToken.cs
- OperationContextScope.cs
- CalendarBlackoutDatesCollection.cs
- SparseMemoryStream.cs
- RuntimeEnvironment.cs
- RSAPKCS1SignatureDeformatter.cs
- Rotation3DAnimation.cs
- XmlTextReaderImplHelpers.cs
- mactripleDES.cs
- PlatformCulture.cs
- DbDataRecord.cs
- SQLBinary.cs
- CompareValidator.cs
- TypedColumnHandler.cs
- VBCodeProvider.cs
- Rect3DValueSerializer.cs
- ActivityExecutionFilter.cs
- PropertyEmitterBase.cs
- PlainXmlWriter.cs
- DataControlFieldCollection.cs
- ReachFixedDocumentSerializerAsync.cs
- TaskbarItemInfo.cs
- CommandBindingCollection.cs
- ScrollPattern.cs
- DeclarationUpdate.cs
- GeneratedCodeAttribute.cs
- WinFormsSpinner.cs
- PopupEventArgs.cs
- AssociationSetMetadata.cs
- SQLBinary.cs
- Missing.cs
- DependencyStoreSurrogate.cs
- MonitorWrapper.cs
- RoutingService.cs
- SettingsSection.cs
- ToolStripDropDownButton.cs
- DataGridViewRowCollection.cs
- DataServiceQueryProvider.cs
- CodeDelegateCreateExpression.cs
- ComponentGlyph.cs
- HttpServerVarsCollection.cs
- SimpleParser.cs
- AttachedPropertyBrowsableAttribute.cs
- BufferedWebEventProvider.cs
- Journal.cs
- XmlSchemaRedefine.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- ConnectionManagementSection.cs
- EncryptedKeyIdentifierClause.cs
- EntityViewGenerationAttribute.cs
- Util.cs
- TogglePattern.cs
- OutgoingWebResponseContext.cs
- MdiWindowListStrip.cs