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
- validationstate.cs
- ToolStripControlHost.cs
- ClientUrlResolverWrapper.cs
- cookieexception.cs
- baseshape.cs
- ThemeableAttribute.cs
- DebugHandleTracker.cs
- ListBoxItemAutomationPeer.cs
- Int16.cs
- PixelFormat.cs
- HMAC.cs
- TextPointer.cs
- RecordManager.cs
- Deserializer.cs
- ScrollItemProviderWrapper.cs
- SmtpReplyReader.cs
- UniqueIdentifierService.cs
- SignHashRequest.cs
- NGCSerializationManager.cs
- ImageDrawing.cs
- ObjectManager.cs
- PeerCollaboration.cs
- AssociatedControlConverter.cs
- PersonalizationStateInfoCollection.cs
- UpDownBase.cs
- DecimalKeyFrameCollection.cs
- MenuItem.cs
- LogWriteRestartAreaState.cs
- OperationBehaviorAttribute.cs
- EndEvent.cs
- SiteMapPath.cs
- DbProviderFactoriesConfigurationHandler.cs
- CompilerCollection.cs
- CorrelationTokenTypeConvertor.cs
- StorageEntityContainerMapping.cs
- WSDualHttpSecurity.cs
- AdornedElementPlaceholder.cs
- FixedSchema.cs
- AppSettingsExpressionBuilder.cs
- XmlFormatExtensionPointAttribute.cs
- SapiRecoInterop.cs
- Misc.cs
- DataKey.cs
- DetailsViewCommandEventArgs.cs
- DataGridAddNewRow.cs
- CfgSemanticTag.cs
- FileRecordSequenceCompletedAsyncResult.cs
- WebBrowser.cs
- ClassValidator.cs
- ImageList.cs
- CopyCodeAction.cs
- WebServiceHandler.cs
- ElementAtQueryOperator.cs
- TagNameToTypeMapper.cs
- TypeProvider.cs
- MailAddress.cs
- WindowsListViewGroupHelper.cs
- isolationinterop.cs
- PresentationTraceSources.cs
- ModuleBuilderData.cs
- TransportElement.cs
- ConfigXmlComment.cs
- UserUseLicenseDictionaryLoader.cs
- HttpAsyncResult.cs
- ButtonBaseAdapter.cs
- TypeInitializationException.cs
- BinaryObjectInfo.cs
- X509CertificateChain.cs
- SmtpFailedRecipientsException.cs
- DataControlFieldCollection.cs
- LabelAutomationPeer.cs
- AesManaged.cs
- RuntimeEnvironment.cs
- SequentialUshortCollection.cs
- ToolStripProgressBar.cs
- TypeConverterMarkupExtension.cs
- WinFormsSecurity.cs
- RenderDataDrawingContext.cs
- SchemaCollectionPreprocessor.cs
- WindowInteropHelper.cs
- PropertyPathConverter.cs
- NavigationCommands.cs
- FileDialog.cs
- ClientSettingsSection.cs
- Int16AnimationBase.cs
- DisposableCollectionWrapper.cs
- X509CertificateClaimSet.cs
- DockPatternIdentifiers.cs
- ApplicationFileParser.cs
- JumpPath.cs
- StorageInfo.cs
- HttpListenerRequest.cs
- ContextCorrelationInitializer.cs
- TypeConstant.cs
- SnapshotChangeTrackingStrategy.cs
- StyleSelector.cs
- DependsOnAttribute.cs
- FreeIndexList.cs
- ConstNode.cs
- AspNetCacheProfileAttribute.cs