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
- DataServiceBehavior.cs
- PaginationProgressEventArgs.cs
- ControlBindingsConverter.cs
- WebPermission.cs
- EqualityComparer.cs
- CheckBoxPopupAdapter.cs
- WmpBitmapEncoder.cs
- ComponentResourceManager.cs
- BrowserCapabilitiesFactory.cs
- VarRefManager.cs
- HttpHandlersSection.cs
- CodeIdentifiers.cs
- DbProviderServices.cs
- Interfaces.cs
- WpfWebRequestHelper.cs
- compensatingcollection.cs
- EncoderParameter.cs
- NameValueFileSectionHandler.cs
- TextRangeProviderWrapper.cs
- BitConverter.cs
- AnchoredBlock.cs
- PolicyUnit.cs
- IIS7WorkerRequest.cs
- BindingManagerDataErrorEventArgs.cs
- SubqueryRules.cs
- panel.cs
- OptionUsage.cs
- wmiprovider.cs
- SignedXml.cs
- XmlAttribute.cs
- BitmapImage.cs
- Positioning.cs
- HtmlEmptyTagControlBuilder.cs
- TreeViewItem.cs
- XmlSchemaRedefine.cs
- DbConnectionPoolGroupProviderInfo.cs
- ActivityCodeDomSerializationManager.cs
- BitmapEffectGeneralTransform.cs
- ObjectQuery.cs
- PlaceHolder.cs
- VectorCollection.cs
- ClientBuildManager.cs
- Aggregates.cs
- NavigatingCancelEventArgs.cs
- unitconverter.cs
- DbParameterCollectionHelper.cs
- AspNetHostingPermission.cs
- EntityDataSourceSelectingEventArgs.cs
- XmlDomTextWriter.cs
- NativeMethods.cs
- IconBitmapDecoder.cs
- ListViewInsertionMark.cs
- ResourceDefaultValueAttribute.cs
- SynchronizedDispatch.cs
- SchemaImporterExtensionElement.cs
- BoolExpression.cs
- PartitionerQueryOperator.cs
- ColorConverter.cs
- StringOutput.cs
- ColumnProvider.cs
- FixedSOMPageConstructor.cs
- DataBinding.cs
- DirectoryNotFoundException.cs
- MultiSelectRootGridEntry.cs
- HtmlEncodedRawTextWriter.cs
- XamlTreeBuilderBamlRecordWriter.cs
- TimeStampChecker.cs
- ToolStrip.cs
- CacheAxisQuery.cs
- TypeConverterHelper.cs
- WebPartEditorOkVerb.cs
- MulticastOption.cs
- XmlNodeComparer.cs
- Switch.cs
- NetPeerTcpBinding.cs
- AsymmetricSignatureDeformatter.cs
- COSERVERINFO.cs
- PropertyDescriptorComparer.cs
- FormClosingEvent.cs
- MexBindingBindingCollectionElement.cs
- TargetControlTypeAttribute.cs
- WebPartDisplayModeCancelEventArgs.cs
- VariableAction.cs
- CodeTypeReferenceExpression.cs
- IntSecurity.cs
- EventHandlers.cs
- ExchangeUtilities.cs
- ConfigurationUtility.cs
- BitmapEffectCollection.cs
- SspiHelper.cs
- ListViewAutomationPeer.cs
- CircleEase.cs
- EditorZoneBase.cs
- PassportPrincipal.cs
- OutputCacheProfile.cs
- ObjectListItemCollection.cs
- __ComObject.cs
- UnsafeNativeMethods.cs
- MimeFormatExtensions.cs
- QilReplaceVisitor.cs