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
- RSACryptoServiceProvider.cs
- SchemaImporterExtensionElementCollection.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- PackagePartCollection.cs
- EventlogProvider.cs
- MLangCodePageEncoding.cs
- XmlNamespaceMappingCollection.cs
- DecimalMinMaxAggregationOperator.cs
- SafeRightsManagementSessionHandle.cs
- ShaderEffect.cs
- WebPartUserCapability.cs
- HttpModuleAction.cs
- DispatcherObject.cs
- CreateUserWizardAutoFormat.cs
- DataSourceCacheDurationConverter.cs
- PolicyUnit.cs
- NamedPipeTransportSecurityElement.cs
- FileReservationCollection.cs
- HtmlString.cs
- SocketCache.cs
- CultureTable.cs
- AuthenticationService.cs
- WebPartConnectionsConfigureVerb.cs
- Pkcs7Recipient.cs
- UnmanagedMemoryStreamWrapper.cs
- DBCommand.cs
- _ConnectOverlappedAsyncResult.cs
- IImplicitResourceProvider.cs
- ResolveResponseInfo.cs
- unsafenativemethodsother.cs
- MembershipUser.cs
- WorkflowApplicationTerminatedException.cs
- AutomationPattern.cs
- SchemaMerger.cs
- SegmentInfo.cs
- MessageQueueKey.cs
- FileDialogCustomPlace.cs
- ReflectEventDescriptor.cs
- PasswordBox.cs
- _ConnectionGroup.cs
- BitmapEffectGroup.cs
- ICollection.cs
- IncrementalHitTester.cs
- SystemException.cs
- ScriptComponentDescriptor.cs
- PointConverter.cs
- ScrollViewerAutomationPeer.cs
- MarginCollapsingState.cs
- LogReserveAndAppendState.cs
- ConfigXmlElement.cs
- DetailsView.cs
- processwaithandle.cs
- TypedDataSourceCodeGenerator.cs
- BitmapEffectState.cs
- QueryExecutionOption.cs
- SelectionItemProviderWrapper.cs
- WindowsPen.cs
- MaterialGroup.cs
- ThreadSafeList.cs
- OdbcReferenceCollection.cs
- TraceSwitch.cs
- SecurityContext.cs
- isolationinterop.cs
- RandomNumberGenerator.cs
- filewebresponse.cs
- VideoDrawing.cs
- EntityDataSourceDataSelectionPanel.cs
- IssuanceLicense.cs
- StrokeFIndices.cs
- PasswordDeriveBytes.cs
- ComponentSerializationService.cs
- PermissionListSet.cs
- Journal.cs
- BindStream.cs
- RegexRunnerFactory.cs
- XmlExtensionFunction.cs
- FigureParaClient.cs
- AttachedAnnotation.cs
- Soap11ServerProtocol.cs
- TagPrefixAttribute.cs
- TextLineBreak.cs
- Single.cs
- SortedList.cs
- LicenseManager.cs
- ReferentialConstraint.cs
- OdbcError.cs
- HuffmanTree.cs
- FullTextLine.cs
- KoreanCalendar.cs
- TabControlDesigner.cs
- DataGridRow.cs
- EncoderParameter.cs
- WebPartDisplayMode.cs
- IQueryable.cs
- HttpTransportManager.cs
- SQLDateTime.cs
- Permission.cs
- StringConverter.cs
- SQLBinary.cs
- ResetableIterator.cs