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
- ServiceHostingEnvironment.cs
- MessageDescriptionCollection.cs
- SqlConnectionFactory.cs
- DataColumnCollection.cs
- assertwrapper.cs
- XpsThumbnail.cs
- DateTimeOffsetStorage.cs
- RenderContext.cs
- NotifyParentPropertyAttribute.cs
- XmlAutoDetectWriter.cs
- JsonEncodingStreamWrapper.cs
- RawKeyboardInputReport.cs
- ClientSession.cs
- PasswordRecoveryDesigner.cs
- ObjectDataProvider.cs
- RotateTransform.cs
- SafeUserTokenHandle.cs
- Substitution.cs
- SecurityChannelFaultConverter.cs
- SqlSupersetValidator.cs
- StorageEntitySetMapping.cs
- _NestedMultipleAsyncResult.cs
- NameNode.cs
- SingleStorage.cs
- dataobject.cs
- TreeViewDesigner.cs
- TextSelection.cs
- ReadOnlyPermissionSet.cs
- ResourceAssociationTypeEnd.cs
- EntityTypeEmitter.cs
- RemotingAttributes.cs
- SqlMethodAttribute.cs
- ChildDocumentBlock.cs
- FloatAverageAggregationOperator.cs
- FontDifferentiator.cs
- ServiceDescriptionReflector.cs
- Mapping.cs
- WindowsRichEditRange.cs
- Missing.cs
- ConfigsHelper.cs
- TextSpan.cs
- ListViewDeleteEventArgs.cs
- CompiledIdentityConstraint.cs
- PublisherMembershipCondition.cs
- RoutedEventValueSerializer.cs
- XmlTextWriter.cs
- SymbolMethod.cs
- StreamWriter.cs
- ListSortDescription.cs
- nulltextnavigator.cs
- CommentEmitter.cs
- ConsoleEntryPoint.cs
- ContentPosition.cs
- ButtonField.cs
- RubberbandSelector.cs
- _HelperAsyncResults.cs
- MulticastNotSupportedException.cs
- SHA256Managed.cs
- StorageMappingFragment.cs
- EventRoute.cs
- ColorConverter.cs
- OdbcInfoMessageEvent.cs
- ConfigurationFileMap.cs
- Attribute.cs
- CorePropertiesFilter.cs
- XmlAttributeAttribute.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- AsyncPostBackTrigger.cs
- AdjustableArrowCap.cs
- CompressStream.cs
- HyperlinkAutomationPeer.cs
- TabControlAutomationPeer.cs
- SqlTrackingQuery.cs
- EdmValidator.cs
- Mouse.cs
- SourceElementsCollection.cs
- QilIterator.cs
- WorkflowExecutor.cs
- SmiXetterAccessMap.cs
- TextContainer.cs
- BooleanFunctions.cs
- ConstraintStruct.cs
- FileAuthorizationModule.cs
- Base64Decoder.cs
- ActivityDesignerAccessibleObject.cs
- ReplyChannel.cs
- SendingRequestEventArgs.cs
- XmlCodeExporter.cs
- DesignerTransactionCloseEvent.cs
- Vector3DValueSerializer.cs
- AnnotationMap.cs
- SoapFault.cs
- SmiContext.cs
- SerializerDescriptor.cs
- Socket.cs
- DelayedRegex.cs
- ContravarianceAdapter.cs
- DesignerCatalogPartChrome.cs
- CompositeCollectionView.cs
- BaseHashHelper.cs