Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DbParameterCollection.cs
- CqlIdentifiers.cs
- ExceptionRoutedEventArgs.cs
- ChtmlFormAdapter.cs
- CompositeControlDesigner.cs
- PhotoPrintingIntent.cs
- SoapObjectWriter.cs
- DocumentCollection.cs
- HMACSHA512.cs
- DataDesignUtil.cs
- ScrollItemPatternIdentifiers.cs
- CodeSnippetExpression.cs
- ConfigXmlReader.cs
- BinaryMethodMessage.cs
- ping.cs
- SignedXml.cs
- CommandID.cs
- GeometryConverter.cs
- NoResizeHandleGlyph.cs
- GridViewUpdateEventArgs.cs
- ModelVisual3D.cs
- TreeNodeBindingCollection.cs
- GridViewDeleteEventArgs.cs
- ConfigurationValidatorAttribute.cs
- ZeroOpNode.cs
- StateWorkerRequest.cs
- WebPartMenu.cs
- AmbiguousMatchException.cs
- SplitterPanel.cs
- PersonalizationProvider.cs
- DispatcherTimer.cs
- BufferedReadStream.cs
- TypeInformation.cs
- RangeContentEnumerator.cs
- BindingBase.cs
- QuaternionAnimation.cs
- basenumberconverter.cs
- PeerNameRecord.cs
- PictureBox.cs
- ReliableDuplexSessionChannel.cs
- peernodeimplementation.cs
- SoapMessage.cs
- EventRoute.cs
- UIElementPropertyUndoUnit.cs
- DBCSCodePageEncoding.cs
- PropertyTabChangedEvent.cs
- WorkflowRuntime.cs
- ObjectItemCollection.cs
- SerializationTrace.cs
- CheckBox.cs
- SelectedDatesCollection.cs
- SelectingProviderEventArgs.cs
- _LocalDataStoreMgr.cs
- MenuTracker.cs
- safePerfProviderHandle.cs
- RemoveStoryboard.cs
- CachedPathData.cs
- WebPartConnectVerb.cs
- RelationshipDetailsRow.cs
- StorageComplexPropertyMapping.cs
- RepeatInfo.cs
- StringComparer.cs
- BindingCompleteEventArgs.cs
- SecurityManager.cs
- QueryOperationResponseOfT.cs
- ShaperBuffers.cs
- MatrixKeyFrameCollection.cs
- TdsParser.cs
- TypeBuilderInstantiation.cs
- SqlAliasesReferenced.cs
- ApplicationSettingsBase.cs
- ProtocolsConfiguration.cs
- MenuItem.cs
- ReflectPropertyDescriptor.cs
- OperandQuery.cs
- DesignerUtils.cs
- ObjectDataSourceView.cs
- graph.cs
- ProviderCommandInfoUtils.cs
- SmtpMail.cs
- PtsContext.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DetailsViewInsertedEventArgs.cs
- XmlUrlEditor.cs
- AnchorEditor.cs
- DataServiceClientException.cs
- RequestTimeoutManager.cs
- CmsUtils.cs
- DesignerHost.cs
- PanelStyle.cs
- ObjectMemberMapping.cs
- Hashtable.cs
- SetterTriggerConditionValueConverter.cs
- EventLogEntryCollection.cs
- TextEditorTyping.cs
- CurrentChangingEventManager.cs
- UMPAttributes.cs
- SmiEventSink.cs
- ToolStripContentPanelRenderEventArgs.cs
- CheckBoxBaseAdapter.cs