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
- GZipStream.cs
- IPAddressCollection.cs
- HttpValueCollection.cs
- TrackBar.cs
- ReadOnlyDictionary.cs
- PathGeometry.cs
- X509CertificateValidator.cs
- XmlSerializerSection.cs
- XPathConvert.cs
- keycontainerpermission.cs
- RadioButtonBaseAdapter.cs
- LongValidatorAttribute.cs
- CodeTypeParameterCollection.cs
- NativeMethods.cs
- AsymmetricSecurityProtocolFactory.cs
- DynamicValueConverter.cs
- DropSource.cs
- DesignerWebPartChrome.cs
- BackgroundWorker.cs
- BufferModesCollection.cs
- DebugHandleTracker.cs
- AttributeUsageAttribute.cs
- SQLCharsStorage.cs
- SoapReflectionImporter.cs
- SpeechSeg.cs
- UnsafeNativeMethodsCLR.cs
- Axis.cs
- ConfigXmlSignificantWhitespace.cs
- SetterBaseCollection.cs
- AggregateNode.cs
- Transactions.cs
- XamlGridLengthSerializer.cs
- MinMaxParagraphWidth.cs
- CacheMemory.cs
- XmlRawWriter.cs
- EditorZone.cs
- Bold.cs
- SqlNotificationRequest.cs
- HttpGetProtocolImporter.cs
- Vector3DConverter.cs
- SmiContextFactory.cs
- BooleanAnimationUsingKeyFrames.cs
- TransformerInfoCollection.cs
- ProtocolsConfigurationEntry.cs
- FindCriteria.cs
- HelloOperationAsyncResult.cs
- DataControlFieldHeaderCell.cs
- DragDrop.cs
- MonthChangedEventArgs.cs
- FigureParaClient.cs
- ContentFilePart.cs
- UnaryQueryOperator.cs
- Brushes.cs
- SamlAuthenticationStatement.cs
- NamespaceCollection.cs
- Synchronization.cs
- SoapReflectionImporter.cs
- AnnotationAdorner.cs
- CacheHelper.cs
- GB18030Encoding.cs
- SiteMapProvider.cs
- DesignerAttribute.cs
- UniqueSet.cs
- DBSqlParserTable.cs
- DataGridTextColumn.cs
- NopReturnReader.cs
- TextProperties.cs
- XPathNavigator.cs
- UserControlCodeDomTreeGenerator.cs
- JsonFaultDetail.cs
- XamlClipboardData.cs
- PreviewPrintController.cs
- ColumnPropertiesGroup.cs
- IdentifierCreationService.cs
- StylusButtonEventArgs.cs
- Documentation.cs
- ImportContext.cs
- arc.cs
- RichTextBox.cs
- TextSelectionProcessor.cs
- UrlMappingCollection.cs
- BStrWrapper.cs
- EntitySqlQueryBuilder.cs
- ConnectionStringsSection.cs
- SettingsProviderCollection.cs
- SystemNetworkInterface.cs
- precedingquery.cs
- GridViewUpdateEventArgs.cs
- bidPrivateBase.cs
- CheckBoxField.cs
- TargetException.cs
- MiniModule.cs
- HashStream.cs
- InputBuffer.cs
- SettingsPropertyValueCollection.cs
- HandlerWithFactory.cs
- GridView.cs
- ListControl.cs
- DataBindingList.cs
- RelationshipEndMember.cs