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
- ToolZone.cs
- TypeConverterAttribute.cs
- FacetChecker.cs
- SecurityKeyType.cs
- FileDocument.cs
- Interlocked.cs
- Underline.cs
- ConfigurationElement.cs
- TextEditorCharacters.cs
- BooleanKeyFrameCollection.cs
- DesignerCommandSet.cs
- GenericUriParser.cs
- ToolboxItemAttribute.cs
- XamlSerializationHelper.cs
- RTLAwareMessageBox.cs
- DispatcherProcessingDisabled.cs
- FileNotFoundException.cs
- TextRenderer.cs
- ServerIdentity.cs
- ItemCheckedEvent.cs
- ExpressionLexer.cs
- Operand.cs
- DefaultValueConverter.cs
- Page.cs
- LambdaCompiler.Unary.cs
- StackSpiller.cs
- TraceListeners.cs
- ScriptResourceHandler.cs
- figurelengthconverter.cs
- ProviderException.cs
- PathSegment.cs
- FileUtil.cs
- ColumnWidthChangedEvent.cs
- UDPClient.cs
- RowUpdatingEventArgs.cs
- Trace.cs
- EntityChangedParams.cs
- MetaChildrenColumn.cs
- XMLDiffLoader.cs
- ToolbarAUtomationPeer.cs
- TemplatedMailWebEventProvider.cs
- IDQuery.cs
- StreamingContext.cs
- _HeaderInfoTable.cs
- BufferAllocator.cs
- StaticTextPointer.cs
- ProtocolsConfigurationHandler.cs
- DropShadowBitmapEffect.cs
- BindingRestrictions.cs
- WebPartZoneBase.cs
- CodeStatement.cs
- BatchServiceHost.cs
- MethodBody.cs
- EncoderBestFitFallback.cs
- TargetControlTypeAttribute.cs
- BindingExpressionUncommonField.cs
- LocalIdKeyIdentifierClause.cs
- ExtenderControl.cs
- FilteredAttributeCollection.cs
- BinaryConverter.cs
- InputMethodStateTypeInfo.cs
- BinaryEditor.cs
- ModelPerspective.cs
- ScrollEvent.cs
- RenderTargetBitmap.cs
- NativeMethods.cs
- ObjectDataSourceSelectingEventArgs.cs
- OleDbReferenceCollection.cs
- ViewGenResults.cs
- SaveWorkflowAsyncResult.cs
- ResourceAttributes.cs
- WmfPlaceableFileHeader.cs
- ExtensionSurface.cs
- OleDbEnumerator.cs
- ReadOnlyDataSource.cs
- NameHandler.cs
- ItemList.cs
- _SecureChannel.cs
- GlyphRunDrawing.cs
- SignerInfo.cs
- TextureBrush.cs
- AxWrapperGen.cs
- PolicyManager.cs
- EncoderExceptionFallback.cs
- MeasureItemEvent.cs
- PathGeometry.cs
- ToolStrip.cs
- SizeF.cs
- EditorBrowsableAttribute.cs
- SmiEventStream.cs
- PathFigure.cs
- LazyTextWriterCreator.cs
- IBuiltInEvidence.cs
- AccessedThroughPropertyAttribute.cs
- ComponentResourceManager.cs
- TextWriterTraceListener.cs
- XmlNodeList.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- DataSourceDesigner.cs
- IdleTimeoutMonitor.cs