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
- InputReferenceExpression.cs
- Geometry3D.cs
- PermissionListSet.cs
- ClientBuildManagerCallback.cs
- FileDialog_Vista_Interop.cs
- DiscreteKeyFrames.cs
- MouseGestureValueSerializer.cs
- Timeline.cs
- TraceInternal.cs
- XmlObjectSerializerWriteContextComplex.cs
- BatchStream.cs
- OSFeature.cs
- WebPartZoneCollection.cs
- TextTreeExtractElementUndoUnit.cs
- lengthconverter.cs
- ImageSourceConverter.cs
- Inline.cs
- IODescriptionAttribute.cs
- DataKey.cs
- DataListAutoFormat.cs
- HttpRawResponse.cs
- DetailsViewPagerRow.cs
- ServiceMemoryGates.cs
- ThousandthOfEmRealDoubles.cs
- CachedTypeface.cs
- BinaryFormatter.cs
- XPathNavigator.cs
- SimpleType.cs
- HtmlContainerControl.cs
- ImageDrawing.cs
- BufferedGraphics.cs
- ImplicitInputBrush.cs
- PathNode.cs
- MarshalByValueComponent.cs
- ViewGenerator.cs
- SqlDependencyUtils.cs
- ConnectivityStatus.cs
- ServiceReflector.cs
- TokenizerHelper.cs
- RangeValuePatternIdentifiers.cs
- CatalogZoneAutoFormat.cs
- SharedDp.cs
- NavigatingCancelEventArgs.cs
- WebEventTraceProvider.cs
- StreamAsIStream.cs
- SingleObjectCollection.cs
- PointConverter.cs
- BamlRecords.cs
- SrgsRuleRef.cs
- BindingCollectionElement.cs
- MetadataExchangeBindings.cs
- DesignerInterfaces.cs
- CfgSemanticTag.cs
- HwndKeyboardInputProvider.cs
- x509utils.cs
- MdiWindowListStrip.cs
- StatusBar.cs
- MultipleViewPattern.cs
- ReaderWriterLockSlim.cs
- TextEndOfSegment.cs
- BrowsableAttribute.cs
- ExtenderProvidedPropertyAttribute.cs
- ConnectionManagementElement.cs
- XmlUTF8TextReader.cs
- _FtpControlStream.cs
- MenuItemCollection.cs
- CodePrimitiveExpression.cs
- PartialCachingAttribute.cs
- MasterPageCodeDomTreeGenerator.cs
- WebPartVerbsEventArgs.cs
- InterleavedZipPartStream.cs
- MouseGestureConverter.cs
- DebugHandleTracker.cs
- TraceUtils.cs
- WebPartAddingEventArgs.cs
- PageBreakRecord.cs
- Geometry.cs
- Matrix.cs
- FieldToken.cs
- TimelineCollection.cs
- precedingsibling.cs
- _RequestLifetimeSetter.cs
- LineServices.cs
- FlowLayoutPanel.cs
- NavigationPropertyEmitter.cs
- AutomationFocusChangedEventArgs.cs
- CoordinationService.cs
- ByteRangeDownloader.cs
- CalendarTable.cs
- CaseStatement.cs
- MetadataArtifactLoaderCompositeFile.cs
- LocalsItemDescription.cs
- FileStream.cs
- UInt32Storage.cs
- XPathNodeIterator.cs
- UniqueConstraint.cs
- Vector3D.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ImplicitInputBrush.cs
- autovalidator.cs