Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SEHException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- WriteLineDesigner.xaml.cs
- EntityConnectionStringBuilderItem.cs
- WhitespaceSignificantCollectionAttribute.cs
- PortCache.cs
- ColorConvertedBitmap.cs
- MetabaseSettings.cs
- NamespaceCollection.cs
- CoTaskMemHandle.cs
- WebPartsPersonalizationAuthorization.cs
- Panel.cs
- sortedlist.cs
- BindToObject.cs
- WorkBatch.cs
- WpfPayload.cs
- WSHttpSecurity.cs
- Tuple.cs
- IndicCharClassifier.cs
- CqlIdentifiers.cs
- XmlWrappingReader.cs
- NonBatchDirectoryCompiler.cs
- SmiEventSink_DeferedProcessing.cs
- GridViewRowEventArgs.cs
- FixedSchema.cs
- FontSizeConverter.cs
- HtmlInputCheckBox.cs
- Polygon.cs
- AutomationIdentifier.cs
- HashRepartitionStream.cs
- CachedBitmap.cs
- PropertyReferenceExtension.cs
- XmlRootAttribute.cs
- DataPagerField.cs
- MaskDesignerDialog.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- PathGeometry.cs
- HttpModulesSection.cs
- SamlConstants.cs
- HyperLinkField.cs
- MediaCommands.cs
- UnsafeNativeMethodsCLR.cs
- DeferredTextReference.cs
- sqlcontext.cs
- IOException.cs
- SecuritySessionServerSettings.cs
- Walker.cs
- CodeDomComponentSerializationService.cs
- DynamicUpdateCommand.cs
- SetterBase.cs
- SecurityDocument.cs
- FontWeight.cs
- MailDefinitionBodyFileNameEditor.cs
- Run.cs
- SymbolPair.cs
- CompilerScope.Storage.cs
- HtmlControl.cs
- RSAOAEPKeyExchangeDeformatter.cs
- CellTreeSimplifier.cs
- SqlDataSourceCommandEventArgs.cs
- CompiledQuery.cs
- XpsImage.cs
- _IPv4Address.cs
- MultiTouchSystemGestureLogic.cs
- ScriptDescriptor.cs
- RuntimeCompatibilityAttribute.cs
- WebPartZoneCollection.cs
- EmptyEnumerator.cs
- BitmapEffectInput.cs
- PersonalizationProviderCollection.cs
- Compiler.cs
- UpdatableGenericsFeature.cs
- RIPEMD160.cs
- TextRenderer.cs
- WebBrowserUriTypeConverter.cs
- PropertyGridEditorPart.cs
- __TransparentProxy.cs
- FileDialogCustomPlace.cs
- TokenBasedSet.cs
- MarkupCompilePass2.cs
- OutputCacheProfileCollection.cs
- ToolBarOverflowPanel.cs
- FontFamilyValueSerializer.cs
- UnionExpr.cs
- TreeChangeInfo.cs
- TreeNodeEventArgs.cs
- _SafeNetHandles.cs
- QilLiteral.cs
- UserPreference.cs
- WebSysDefaultValueAttribute.cs
- ClientScriptManager.cs
- DataGridViewCheckBoxCell.cs
- Semaphore.cs
- EditingCommands.cs
- DataAdapter.cs
- MenuStrip.cs
- UnaryNode.cs
- HostSecurityManager.cs
- XmlSchemaAll.cs
- DataControlFieldCollection.cs
- ContextStack.cs
- HtmlGenericControl.cs