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
- ComplexLine.cs
- SHA256CryptoServiceProvider.cs
- InputElement.cs
- XmlEncodedRawTextWriter.cs
- InkCanvasSelection.cs
- StylusPointCollection.cs
- RuleEngine.cs
- XamlFigureLengthSerializer.cs
- XsltArgumentList.cs
- AnnotationHighlightLayer.cs
- MethodBuilder.cs
- Pkcs7Recipient.cs
- ProxySimple.cs
- PreservationFileReader.cs
- InvalidCastException.cs
- SerialReceived.cs
- GC.cs
- MarshalDirectiveException.cs
- PermissionSet.cs
- RSACryptoServiceProvider.cs
- Processor.cs
- Geometry.cs
- ILGen.cs
- ViewPort3D.cs
- XmlComplianceUtil.cs
- BitmapMetadataEnumerator.cs
- SecurityValidationBehavior.cs
- InputLanguage.cs
- UserInitiatedNavigationPermission.cs
- TreeIterator.cs
- GACMembershipCondition.cs
- ToolStripDropDownItem.cs
- SizeChangedEventArgs.cs
- ElapsedEventArgs.cs
- XPathNodeList.cs
- ACL.cs
- ImageIndexConverter.cs
- ArgumentValueSerializer.cs
- SequentialActivityDesigner.cs
- IPEndPoint.cs
- Inline.cs
- EmissiveMaterial.cs
- PropertyReferenceSerializer.cs
- AstTree.cs
- NullReferenceException.cs
- ContentPropertyAttribute.cs
- XamlVector3DCollectionSerializer.cs
- UnauthorizedAccessException.cs
- UnsafeNativeMethods.cs
- TypeElementCollection.cs
- Byte.cs
- sqlmetadatafactory.cs
- CatalogPartCollection.cs
- ListBindingHelper.cs
- Slider.cs
- IgnoreDataMemberAttribute.cs
- XD.cs
- SpanIndex.cs
- TreeView.cs
- FlowDocumentPage.cs
- FunctionMappingTranslator.cs
- UnitySerializationHolder.cs
- DocumentPage.cs
- TrailingSpaceComparer.cs
- SerialErrors.cs
- SingleStorage.cs
- CollectionBuilder.cs
- WorkflowServiceHost.cs
- TraceListener.cs
- ProcessThreadCollection.cs
- ZipIOBlockManager.cs
- ItemDragEvent.cs
- ExtensionDataObject.cs
- XmlSchemaAnnotation.cs
- WebPartAuthorizationEventArgs.cs
- PropertyItemInternal.cs
- CheckBoxFlatAdapter.cs
- MenuEventArgs.cs
- TreeViewEvent.cs
- IPGlobalProperties.cs
- XmlUrlResolver.cs
- loginstatus.cs
- FixedSOMTable.cs
- VoiceObjectToken.cs
- StylusTouchDevice.cs
- CapabilitiesSection.cs
- _NestedMultipleAsyncResult.cs
- ComponentRenameEvent.cs
- LineUtil.cs
- SoundPlayer.cs
- StringWriter.cs
- CompleteWizardStep.cs
- WizardSideBarListControlItem.cs
- FileDataSourceCache.cs
- SqlAliaser.cs
- FlowPosition.cs
- QilReference.cs
- JavaScriptObjectDeserializer.cs
- ConnectionPoint.cs
- precedingsibling.cs