Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DeferredReference.cs
- coordinatorfactory.cs
- CompilationLock.cs
- RequestTimeoutManager.cs
- GeneralTransformCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- URLMembershipCondition.cs
- ComponentEditorForm.cs
- PrintControllerWithStatusDialog.cs
- DecimalConstantAttribute.cs
- SqlDataSource.cs
- MemberDescriptor.cs
- TextServicesCompartment.cs
- AdRotator.cs
- ForeignConstraint.cs
- BrowserDefinition.cs
- SafeNativeMethodsCLR.cs
- ObjectPropertyMapping.cs
- PointCollection.cs
- TextDecoration.cs
- XmlSchemaRedefine.cs
- DPTypeDescriptorContext.cs
- SignatureResourceHelper.cs
- PropertyRef.cs
- MiniParameterInfo.cs
- SortableBindingList.cs
- VisualStyleInformation.cs
- MenuAutoFormat.cs
- DataGridViewSelectedRowCollection.cs
- TdsParserSessionPool.cs
- CallbackValidator.cs
- SystemIcmpV6Statistics.cs
- FilterableAttribute.cs
- HitTestResult.cs
- SoundPlayer.cs
- AddInProcess.cs
- ServiceThrottle.cs
- FormConverter.cs
- BoundingRectTracker.cs
- EntityTypeEmitter.cs
- CopyAction.cs
- DnsPermission.cs
- DataGridRowHeaderAutomationPeer.cs
- ControlParser.cs
- PrefixQName.cs
- SchemaSetCompiler.cs
- Expression.cs
- RepeatBehavior.cs
- WeakReadOnlyCollection.cs
- XPathEmptyIterator.cs
- WebBrowsableAttribute.cs
- SHA512CryptoServiceProvider.cs
- AttachedPropertyBrowsableAttribute.cs
- StructuredTypeEmitter.cs
- HandlerFactoryWrapper.cs
- SqlWebEventProvider.cs
- AdornerLayer.cs
- VScrollBar.cs
- AppDomainFactory.cs
- PasswordTextNavigator.cs
- SchemaDeclBase.cs
- StringSource.cs
- ScaleTransform3D.cs
- UnsafeNativeMethods.cs
- Compiler.cs
- UnknownMessageReceivedEventArgs.cs
- _TLSstream.cs
- DayRenderEvent.cs
- HostingEnvironmentException.cs
- StringValidatorAttribute.cs
- SmtpNetworkElement.cs
- LayoutTableCell.cs
- WebServiceClientProxyGenerator.cs
- StrokeNode.cs
- ConfigXmlWhitespace.cs
- OdbcStatementHandle.cs
- WebPartCatalogAddVerb.cs
- DbCommandTree.cs
- IdentitySection.cs
- XslTransform.cs
- ReadOnlyDictionary.cs
- SchemaTableOptionalColumn.cs
- DelegatingTypeDescriptionProvider.cs
- InvalidPrinterException.cs
- WebPartManagerDesigner.cs
- NonBatchDirectoryCompiler.cs
- ProviderMetadataCachedInformation.cs
- Interop.cs
- XmlSchemaExporter.cs
- BCryptNative.cs
- AliasGenerator.cs
- RegexTree.cs
- LocatorGroup.cs
- DataGridCellAutomationPeer.cs
- CaseStatement.cs
- ClientType.cs
- XomlCompiler.cs
- ContourSegment.cs
- DataGridViewCellLinkedList.cs
- ProviderException.cs