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
- AppearanceEditorPart.cs
- DataSourceHelper.cs
- CodeArgumentReferenceExpression.cs
- Compensate.cs
- UIElementAutomationPeer.cs
- Int64AnimationBase.cs
- Matrix3D.cs
- Token.cs
- EventBuilder.cs
- QueryStringParameter.cs
- DoubleLink.cs
- WebRequest.cs
- MarkupProperty.cs
- NativeObjectSecurity.cs
- XmlReader.cs
- AutomationIdentifierGuids.cs
- RepeaterItemEventArgs.cs
- Clause.cs
- SnapLine.cs
- XmlMtomWriter.cs
- XhtmlTextWriter.cs
- InputManager.cs
- EqualityComparer.cs
- UnaryOperationBinder.cs
- XmlProcessingInstruction.cs
- BaseComponentEditor.cs
- Error.cs
- ConnectionProviderAttribute.cs
- AssemblyBuilder.cs
- KnownTypeDataContractResolver.cs
- SQLBinaryStorage.cs
- InteropTrackingRecord.cs
- InertiaRotationBehavior.cs
- UnsafeNativeMethods.cs
- DbConnectionOptions.cs
- WebSysDefaultValueAttribute.cs
- typedescriptorpermission.cs
- Root.cs
- InputScopeConverter.cs
- TdsParameterSetter.cs
- SafeLocalMemHandle.cs
- AnimatedTypeHelpers.cs
- TextEditorThreadLocalStore.cs
- ScriptingScriptResourceHandlerSection.cs
- HttpClientCertificate.cs
- ColorConvertedBitmapExtension.cs
- WriterOutput.cs
- ObjectQuery.cs
- TreeNode.cs
- DependencyObjectPropertyDescriptor.cs
- RectangleGeometry.cs
- IntSecurity.cs
- ChangeConflicts.cs
- WmfPlaceableFileHeader.cs
- XsltFunctions.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- HScrollProperties.cs
- SchemaImporterExtensionsSection.cs
- SoapSchemaExporter.cs
- ReaderWriterLock.cs
- TextSerializer.cs
- FamilyMap.cs
- GroupBox.cs
- UserUseLicenseDictionaryLoader.cs
- AutomationPatternInfo.cs
- DesignerValidationSummaryAdapter.cs
- WebPartConnectionsConnectVerb.cs
- SplitterCancelEvent.cs
- TextServicesManager.cs
- KnownAssembliesSet.cs
- BuildResult.cs
- CopyCodeAction.cs
- GridViewRowCollection.cs
- ModuleConfigurationInfo.cs
- MemberCollection.cs
- DataContext.cs
- VarRefManager.cs
- StrongNameMembershipCondition.cs
- TargetControlTypeCache.cs
- DetailsViewAutoFormat.cs
- UpdateCommand.cs
- Compiler.cs
- ExpressionBuilderContext.cs
- WCFBuildProvider.cs
- ProxySimple.cs
- BrowsableAttribute.cs
- ImageConverter.cs
- CategoryAttribute.cs
- MobileRedirect.cs
- SecurityPermission.cs
- MulticastDelegate.cs
- GroupBoxRenderer.cs
- SortedDictionary.cs
- Component.cs
- ToolStripGripRenderEventArgs.cs
- LocalizationCodeDomSerializer.cs
- RawStylusInputCustomData.cs
- XmlTextWriter.cs
- BuildProvider.cs
- ObjectFactoryCodeDomTreeGenerator.cs