Code:
/ DotNET / DotNET / 8.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
- ChildrenQuery.cs
- SqlParameter.cs
- DoubleAnimation.cs
- ParallelTimeline.cs
- TableDetailsRow.cs
- IListConverters.cs
- TextElementEnumerator.cs
- _AuthenticationState.cs
- Errors.cs
- HtmlInputFile.cs
- NamedObject.cs
- XPathNodeInfoAtom.cs
- StringSource.cs
- DiffuseMaterial.cs
- PagedDataSource.cs
- XamlReaderHelper.cs
- RadioButtonStandardAdapter.cs
- DelegatedStream.cs
- FontStretches.cs
- CalendarData.cs
- OutputCacheSettings.cs
- DrawingContextWalker.cs
- CodeDelegateInvokeExpression.cs
- DispatchWrapper.cs
- InfoCardListRequest.cs
- CreateUserWizard.cs
- NotifyIcon.cs
- DataMisalignedException.cs
- XmlKeywords.cs
- QueryResultOp.cs
- UTF32Encoding.cs
- ScaleTransform3D.cs
- TimeoutException.cs
- SecurityTokenTypes.cs
- ApplicationBuildProvider.cs
- DiscoveryClient.cs
- WebMessageEncodingElement.cs
- KnownTypesProvider.cs
- ClientSettings.cs
- StrokeNodeEnumerator.cs
- WebSysDescriptionAttribute.cs
- InputProcessorProfiles.cs
- ListBoxAutomationPeer.cs
- HandledMouseEvent.cs
- DataGridItemAttachedStorage.cs
- Pen.cs
- ColorTransform.cs
- CngKey.cs
- Expander.cs
- DocumentViewerAutomationPeer.cs
- PenLineJoinValidation.cs
- Unit.cs
- NativeCppClassAttribute.cs
- RectangleHotSpot.cs
- ConfigurationHelpers.cs
- LicFileLicenseProvider.cs
- PackageRelationshipSelector.cs
- RegexCompiler.cs
- IListConverters.cs
- Mutex.cs
- ObjectDataSourceDisposingEventArgs.cs
- GridViewCommandEventArgs.cs
- CodeTypeConstructor.cs
- newinstructionaction.cs
- InputBindingCollection.cs
- Vector3DAnimationBase.cs
- ElementNotAvailableException.cs
- DataGridViewImageColumn.cs
- XamlStream.cs
- RuntimeEnvironment.cs
- BamlLocalizableResource.cs
- QilReplaceVisitor.cs
- BuildProviderInstallComponent.cs
- BoolExpr.cs
- RadioButtonBaseAdapter.cs
- HttpApplication.cs
- IList.cs
- CanExecuteRoutedEventArgs.cs
- AppearanceEditorPart.cs
- DispatcherFrame.cs
- ToolboxComponentsCreatedEventArgs.cs
- PeerName.cs
- FunctionParameter.cs
- PointConverter.cs
- AuthenticationServiceManager.cs
- MissingSatelliteAssemblyException.cs
- WinCategoryAttribute.cs
- TreeIterators.cs
- CompilerCollection.cs
- GeneralTransform3D.cs
- PersonalizationStateInfoCollection.cs
- FakeModelPropertyImpl.cs
- httpstaticobjectscollection.cs
- FrameAutomationPeer.cs
- StopRoutingHandler.cs
- SymbolPair.cs
- Matrix.cs
- DrawingDrawingContext.cs
- ToolStripGrip.cs
- SimpleHandlerFactory.cs