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
- LineMetrics.cs
- Site.cs
- ReturnEventArgs.cs
- SQLInt32Storage.cs
- XmlSchemaAnyAttribute.cs
- TableSectionStyle.cs
- BuildManager.cs
- FrameworkElementAutomationPeer.cs
- PropertyStore.cs
- SqlDataSourceRefreshSchemaForm.cs
- ToolStripStatusLabel.cs
- LeaseManager.cs
- PerspectiveCamera.cs
- ReliableChannelListener.cs
- TextProviderWrapper.cs
- DetailsViewUpdateEventArgs.cs
- Object.cs
- MailBnfHelper.cs
- SuppressMergeCheckAttribute.cs
- SignatureToken.cs
- UInt64.cs
- hresults.cs
- ByteStack.cs
- Delegate.cs
- MultipartContentParser.cs
- SQLByteStorage.cs
- CompilationSection.cs
- DiscoveryRequestHandler.cs
- AutoResetEvent.cs
- SamlAssertionKeyIdentifierClause.cs
- DataGridGeneralPage.cs
- AuthorizationRule.cs
- KeyValuePair.cs
- LicenseContext.cs
- XmlSchemaException.cs
- WebColorConverter.cs
- ConnectionStringsExpressionBuilder.cs
- MultiPageTextView.cs
- FileSystemInfo.cs
- ParameterReplacerVisitor.cs
- BuiltInPermissionSets.cs
- Size.cs
- WaitForChangedResult.cs
- WindowCollection.cs
- CompilerScopeManager.cs
- Membership.cs
- PartialList.cs
- KerberosSecurityTokenParameters.cs
- SchemaCollectionPreprocessor.cs
- ErrorsHelper.cs
- ClientRuntime.cs
- ChtmlImageAdapter.cs
- TransformedBitmap.cs
- HtmlInputText.cs
- QueryCursorEventArgs.cs
- TextRunProperties.cs
- SqlBulkCopyColumnMapping.cs
- DelayedRegex.cs
- CachedTypeface.cs
- SiteOfOriginContainer.cs
- latinshape.cs
- XmlNodeList.cs
- SamlAuthorityBinding.cs
- Select.cs
- CompositeDispatchFormatter.cs
- WebDisplayNameAttribute.cs
- StorageEntityTypeMapping.cs
- StateBag.cs
- AsyncOperationManager.cs
- PropertySet.cs
- HitTestDrawingContextWalker.cs
- ObjectSecurity.cs
- SQLRoleProvider.cs
- ObjectKeyFrameCollection.cs
- GPRECT.cs
- NegationPusher.cs
- GraphicsContext.cs
- ToolStripCustomTypeDescriptor.cs
- EntityModelBuildProvider.cs
- DataGridViewLayoutData.cs
- OleDbFactory.cs
- ChangePasswordDesigner.cs
- CustomErrorsSection.cs
- DesignTimeTemplateParser.cs
- InternalPermissions.cs
- ToolStripTextBox.cs
- ButtonBaseDesigner.cs
- URLString.cs
- HttpRequestTraceRecord.cs
- BitHelper.cs
- SystemEvents.cs
- CodePrimitiveExpression.cs
- ConnectionManagementElementCollection.cs
- FillRuleValidation.cs
- RegistryKey.cs
- ConsumerConnectionPoint.cs
- CleanUpVirtualizedItemEventArgs.cs
- UserPersonalizationStateInfo.cs
- NullableBoolConverter.cs
- TextDecorationLocationValidation.cs