Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TcpHostedTransportConfiguration.cs
- SqlCommandBuilder.cs
- MeasureItemEvent.cs
- SerialErrors.cs
- BamlResourceSerializer.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- BitmapCodecInfoInternal.cs
- RadioButtonRenderer.cs
- BamlCollectionHolder.cs
- Splitter.cs
- AttachedAnnotation.cs
- WebPartMinimizeVerb.cs
- LineServices.cs
- PrefixQName.cs
- Vars.cs
- ColumnReorderedEventArgs.cs
- InputBindingCollection.cs
- loginstatus.cs
- XmlSchemaInfo.cs
- ProcessManager.cs
- StylusShape.cs
- StringResourceManager.cs
- ImmComposition.cs
- NavigationProgressEventArgs.cs
- HitTestWithGeometryDrawingContextWalker.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- AttributeUsageAttribute.cs
- TreeViewItemAutomationPeer.cs
- MemoryRecordBuffer.cs
- LinqDataSourceSelectEventArgs.cs
- PerformanceCounterManager.cs
- OutputCacheModule.cs
- TreeNode.cs
- FileDetails.cs
- QilDataSource.cs
- AssertUtility.cs
- DesignerWidgets.cs
- SystemUdpStatistics.cs
- GAC.cs
- EventEntry.cs
- CaseStatementProjectedSlot.cs
- CellIdBoolean.cs
- XmlTextAttribute.cs
- SQLBytes.cs
- FtpWebRequest.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- WindowsPen.cs
- DataSetMappper.cs
- Literal.cs
- XmlIlVisitor.cs
- UniqueID.cs
- PolyBezierSegment.cs
- WindowsTitleBar.cs
- SqlCommand.cs
- TemplateBindingExpressionConverter.cs
- Policy.cs
- TextStore.cs
- ResizeBehavior.cs
- DispatchWrapper.cs
- DataPagerFieldCollection.cs
- CodeDOMProvider.cs
- TypefaceMap.cs
- Point3DCollectionConverter.cs
- Library.cs
- SignHashRequest.cs
- CellParaClient.cs
- SystemIPGlobalStatistics.cs
- UnauthorizedWebPart.cs
- ClaimComparer.cs
- Material.cs
- BroadcastEventHelper.cs
- InsufficientExecutionStackException.cs
- LabelAutomationPeer.cs
- RoleManagerSection.cs
- ApplicationActivator.cs
- KeyPressEvent.cs
- GridViewDeleteEventArgs.cs
- Timeline.cs
- DecimalMinMaxAggregationOperator.cs
- UnmanagedMarshal.cs
- BookmarkEventArgs.cs
- PropertyDescriptorGridEntry.cs
- TrackingServices.cs
- Utils.cs
- ToolStripOverflowButton.cs
- Certificate.cs
- DrawingVisual.cs
- EtwTrace.cs
- DesignTimeTemplateParser.cs
- TemplateBindingExtensionConverter.cs
- OverflowException.cs
- CompositeKey.cs
- Activator.cs
- DataRowChangeEvent.cs
- TextBoxAutomationPeer.cs
- XamlWriter.cs
- StyleHelper.cs
- SafeUserTokenHandle.cs
- ClientConfigPaths.cs
- XmlnsDictionary.cs