Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //[....] //[....] //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeNativeMethods.cs
- XmlSignatureManifest.cs
- COM2Properties.cs
- ProcessHostServerConfig.cs
- ApplicationDirectory.cs
- MobileControlsSectionHandler.cs
- DataGridViewRowEventArgs.cs
- ReaderWriterLockWrapper.cs
- LogFlushAsyncResult.cs
- Int32AnimationUsingKeyFrames.cs
- StringUtil.cs
- MultiPageTextView.cs
- WindowsListView.cs
- WriterOutput.cs
- Matrix3DStack.cs
- ApplicationInterop.cs
- SqlCacheDependencyDatabaseCollection.cs
- MetadataSource.cs
- ReliableReplySessionChannel.cs
- EntityConnection.cs
- Roles.cs
- DataGridDesigner.cs
- ContentFilePart.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CssTextWriter.cs
- TypeAccessException.cs
- ImageBrush.cs
- WindowsAuthenticationModule.cs
- SSmlParser.cs
- HMACSHA256.cs
- ReadOnlyMetadataCollection.cs
- ISCIIEncoding.cs
- Util.cs
- SessionStateUtil.cs
- StylusButtonCollection.cs
- Menu.cs
- EqualityComparer.cs
- CompressedStack.cs
- SingleTagSectionHandler.cs
- ServiceElement.cs
- SByte.cs
- TCPClient.cs
- OrElse.cs
- ExpressionLink.cs
- ReadOnlyDictionary.cs
- BulletedList.cs
- ServiceConfigurationTraceRecord.cs
- ExternalDataExchangeService.cs
- PropertyMappingExceptionEventArgs.cs
- FamilyTypefaceCollection.cs
- SqlClientFactory.cs
- Compiler.cs
- SHA384Cng.cs
- XamlClipboardData.cs
- XslAst.cs
- RuleSetDialog.Designer.cs
- NullRuntimeConfig.cs
- FormatterServices.cs
- ExpressionBuilderCollection.cs
- ValueExpressions.cs
- recordstate.cs
- DynamicILGenerator.cs
- ReaderWriterLockWrapper.cs
- XmlArrayItemAttribute.cs
- InstanceDataCollection.cs
- BinaryFormatterWriter.cs
- StringInfo.cs
- BackStopAuthenticationModule.cs
- BookmarkInfo.cs
- DataGridViewDataErrorEventArgs.cs
- RelationshipEnd.cs
- CheckBoxList.cs
- MetricEntry.cs
- LayoutTableCell.cs
- TypeDependencyAttribute.cs
- NameTable.cs
- Int64Converter.cs
- Query.cs
- DriveNotFoundException.cs
- DependentList.cs
- XmlJsonReader.cs
- CrossSiteScriptingValidation.cs
- TextWriter.cs
- CheckedListBox.cs
- XmlNavigatorFilter.cs
- MemoryPressure.cs
- QilList.cs
- PtsPage.cs
- TreeBuilderBamlTranslator.cs
- InkCanvasSelectionAdorner.cs
- OutputCacheSection.cs
- ListViewItem.cs
- CommandField.cs
- ContentPosition.cs
- Object.cs
- PropertyValueUIItem.cs
- FlowPanelDesigner.cs
- ListViewUpdatedEventArgs.cs
- login.cs
- XhtmlBasicCalendarAdapter.cs