Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / Data / OperationAbortedException.cs / 1 / OperationAbortedException.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Data.Common; using System.Diagnostics; using System.Globalization; using System.Runtime.Serialization; [Serializable] #if WINFSInternalOnly internal #else public #endif sealed class OperationAbortedException : SystemException { private OperationAbortedException(string message, Exception innerException) : base(message, innerException) { HResult = HResults.OperationAborted; } private OperationAbortedException(SerializationInfo si, StreamingContext sc) : base(si, sc) { } static internal OperationAbortedException Aborted(Exception inner) { OperationAbortedException e; if (inner == null) { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAborted), null); } else { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAbortedExceptionMessage), inner); } ADP.TraceExceptionAsReturnValue(e); return e; } } } // 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
- RuleInfoComparer.cs
- TypeListConverter.cs
- PropertySet.cs
- SqlDataReaderSmi.cs
- XmlSerializerAssemblyAttribute.cs
- WindowsTokenRoleProvider.cs
- SafeHandle.cs
- MimeFormatter.cs
- GridView.cs
- StructuralCache.cs
- _AuthenticationState.cs
- Quaternion.cs
- PolicyVersionConverter.cs
- CacheDict.cs
- ResourceKey.cs
- InternalConfigHost.cs
- ServiceEndpointCollection.cs
- HtmlImageAdapter.cs
- SubMenuStyleCollectionEditor.cs
- CommandField.cs
- WindowsFormsHostAutomationPeer.cs
- PathStreamGeometryContext.cs
- XmlIlGenerator.cs
- DataErrorValidationRule.cs
- SqlProfileProvider.cs
- CodeTypeDeclarationCollection.cs
- WorkflowCommandExtensionItem.cs
- Compiler.cs
- SecurityManager.cs
- PkcsMisc.cs
- GlyphCache.cs
- SafeIUnknown.cs
- LinkConverter.cs
- SystemResourceHost.cs
- GridErrorDlg.cs
- BitStack.cs
- CharacterMetricsDictionary.cs
- WinFormsComponentEditor.cs
- KeyToListMap.cs
- XPathMultyIterator.cs
- MailMessageEventArgs.cs
- AutomationAttributeInfo.cs
- CodeCommentStatementCollection.cs
- MenuStrip.cs
- ProcessHostFactoryHelper.cs
- DrawingBrush.cs
- PassportAuthenticationModule.cs
- NumberFunctions.cs
- CatalogPart.cs
- GlyphsSerializer.cs
- Events.cs
- XmlEventCache.cs
- SqlNotificationEventArgs.cs
- CssStyleCollection.cs
- AggregatePushdown.cs
- FileUtil.cs
- XmlStringTable.cs
- SafeProcessHandle.cs
- DataGrid.cs
- sqlcontext.cs
- RootProfilePropertySettingsCollection.cs
- Vector3DAnimationBase.cs
- DocumentReferenceCollection.cs
- AlignmentXValidation.cs
- DataContractAttribute.cs
- ListViewAutomationPeer.cs
- WebPartTracker.cs
- VerticalAlignConverter.cs
- MobileFormsAuthentication.cs
- SimpleBitVector32.cs
- UnmanagedHandle.cs
- NetworkAddressChange.cs
- StandardBindingImporter.cs
- TrackBar.cs
- XmlDataSource.cs
- EqualityComparer.cs
- CompositeControl.cs
- SharedPerformanceCounter.cs
- AsyncContentLoadedEventArgs.cs
- MetadataCache.cs
- RC2.cs
- FileVersionInfo.cs
- AppSettingsExpressionBuilder.cs
- TransformedBitmap.cs
- TableLayout.cs
- ConcurrentStack.cs
- RbTree.cs
- XPathMultyIterator.cs
- DataViewListener.cs
- XmlElementElement.cs
- ActivityCompletionCallbackWrapper.cs
- ReadOnlyAttribute.cs
- ListControl.cs
- SqlDataSourceCache.cs
- HtmlTable.cs
- FlagsAttribute.cs
- securitycriticaldataClass.cs
- RightsManagementEncryptionTransform.cs
- SoapHttpTransportImporter.cs
- WebReferencesBuildProvider.cs