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
- InvokeGenerator.cs
- Win32.cs
- Encoding.cs
- ResourceAttributes.cs
- DataGridPageChangedEventArgs.cs
- RbTree.cs
- TemplateBaseAction.cs
- ResourceProviderFactory.cs
- SuppressMergeCheckAttribute.cs
- ElementHostAutomationPeer.cs
- UpWmlMobileTextWriter.cs
- NumberFormatInfo.cs
- BitmapCodecInfoInternal.cs
- BooleanFacetDescriptionElement.cs
- StyleXamlTreeBuilder.cs
- DependencyObjectPropertyDescriptor.cs
- DataBoundControlHelper.cs
- ApplicationServiceHelper.cs
- ClassGenerator.cs
- _Semaphore.cs
- EventLogRecord.cs
- Parsers.cs
- FormsAuthenticationUser.cs
- BaseParser.cs
- ProxyFragment.cs
- QuadraticBezierSegment.cs
- ControlPropertyNameConverter.cs
- ConsumerConnectionPoint.cs
- MemberRestriction.cs
- LocatorManager.cs
- DirectoryInfo.cs
- CombinedGeometry.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WebSysDefaultValueAttribute.cs
- WebPartCancelEventArgs.cs
- ApplicationException.cs
- FormatterConverter.cs
- CalloutQueueItem.cs
- RangeContentEnumerator.cs
- DocumentApplication.cs
- CapabilitiesSection.cs
- ZipIOLocalFileHeader.cs
- WebConfigurationHost.cs
- HwndSource.cs
- ClientTargetCollection.cs
- MultiView.cs
- OdbcPermission.cs
- CompilationSection.cs
- ScriptResourceHandler.cs
- DesignerActionVerbList.cs
- HwndKeyboardInputProvider.cs
- JsonDeserializer.cs
- MinimizableAttributeTypeConverter.cs
- CacheDependency.cs
- TableSectionStyle.cs
- RootDesignerSerializerAttribute.cs
- BitmapEffect.cs
- ProvidersHelper.cs
- TreeViewEvent.cs
- TransformedBitmap.cs
- RoutingUtilities.cs
- UInt16.cs
- BamlWriter.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- WindowsButton.cs
- DataGridBoolColumn.cs
- AutoGeneratedField.cs
- CompiledRegexRunner.cs
- HwndPanningFeedback.cs
- Int32RectValueSerializer.cs
- _ListenerRequestStream.cs
- NonDualMessageSecurityOverHttp.cs
- ThemeInfoAttribute.cs
- WebPartsPersonalizationAuthorization.cs
- FlowDocumentPageViewerAutomationPeer.cs
- EntityDataSourceChangingEventArgs.cs
- SqlClientFactory.cs
- ToolStripItemDataObject.cs
- COM2FontConverter.cs
- ArrayConverter.cs
- HtmlElement.cs
- XmlQualifiedName.cs
- ResourceReferenceExpression.cs
- WindowsTab.cs
- FileDialogCustomPlacesCollection.cs
- BlockCollection.cs
- SecurityException.cs
- NetNamedPipeSecurityElement.cs
- OdbcConnectionHandle.cs
- SecurityKeyIdentifierClause.cs
- ConfigurationPropertyAttribute.cs
- MouseEvent.cs
- XmlSchemaDocumentation.cs
- DbConnectionPoolGroupProviderInfo.cs
- FormViewUpdatedEventArgs.cs
- altserialization.cs
- SoapHeaders.cs
- ControlUtil.cs
- TakeQueryOptionExpression.cs