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
- TransportConfigurationTypeElement.cs
- DeviceSpecificDesigner.cs
- KnownTypeDataContractResolver.cs
- TextMessageEncodingElement.cs
- XmlLoader.cs
- cryptoapiTransform.cs
- WindowsFormsHostAutomationPeer.cs
- SafeArchiveContext.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- _UncName.cs
- FactoryGenerator.cs
- BitmapVisualManager.cs
- ChannelCredentials.cs
- RegexWriter.cs
- WrappedIUnknown.cs
- MetadataArtifactLoader.cs
- Tablet.cs
- TakeOrSkipQueryOperator.cs
- DescendentsWalkerBase.cs
- SerializableReadOnlyDictionary.cs
- IsolatedStorageFilePermission.cs
- StrokeNode.cs
- ConfigWriter.cs
- InfoCardSymmetricCrypto.cs
- Keywords.cs
- CodeStatementCollection.cs
- AssemblyInfo.cs
- PersonalizationProviderHelper.cs
- CodeExpressionCollection.cs
- Types.cs
- CollaborationHelperFunctions.cs
- List.cs
- HttpGetServerProtocol.cs
- RawStylusInputCustomData.cs
- ObjectAssociationEndMapping.cs
- CalculatedColumn.cs
- _NestedSingleAsyncResult.cs
- DoubleMinMaxAggregationOperator.cs
- SerialReceived.cs
- BitmapImage.cs
- SoapExtension.cs
- GZipDecoder.cs
- ManualResetEvent.cs
- CodeMethodReturnStatement.cs
- ErrorEventArgs.cs
- CommandPlan.cs
- CodeDirectoryCompiler.cs
- RuntimeWrappedException.cs
- GraphicsState.cs
- RuleSettings.cs
- BypassElementCollection.cs
- BuildManagerHost.cs
- PassportAuthenticationEventArgs.cs
- SecurityBindingElement.cs
- TagMapCollection.cs
- ComboBox.cs
- SimpleType.cs
- UriTemplateQueryValue.cs
- ColumnMapProcessor.cs
- SequenceDesignerAccessibleObject.cs
- EndpointAddress10.cs
- CompareInfo.cs
- DisableDpiAwarenessAttribute.cs
- TraversalRequest.cs
- StrokeCollectionConverter.cs
- AsyncPostBackErrorEventArgs.cs
- AssociationSetMetadata.cs
- Geometry3D.cs
- ZipIOExtraField.cs
- SmiConnection.cs
- DataColumnMapping.cs
- EntityDataSourceReferenceGroup.cs
- MaterialGroup.cs
- MailDefinition.cs
- OdbcReferenceCollection.cs
- ToolStripArrowRenderEventArgs.cs
- IgnoreDeviceFilterElement.cs
- CodeDirectionExpression.cs
- ConfigurationSection.cs
- SecurityTokenAuthenticator.cs
- ping.cs
- RegisteredDisposeScript.cs
- DragSelectionMessageFilter.cs
- EntityDataSourceWrapperCollection.cs
- TdsRecordBufferSetter.cs
- NumberFunctions.cs
- MailMessage.cs
- EntityDataSourceUtil.cs
- ActivityValidationServices.cs
- TypeUtils.cs
- SymbolPair.cs
- MailAddress.cs
- CommandLibraryHelper.cs
- Slider.cs
- BitVec.cs
- WindowVisualStateTracker.cs
- ClientTarget.cs
- PrefixHandle.cs
- ListViewItemMouseHoverEvent.cs
- CallbackValidator.cs