Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / OperationCanceledException.cs / 1 / OperationCanceledException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: OperationCanceledException ** ** ** Purpose: Exception for cancelled IO requests. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System { [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class OperationCanceledException : SystemException { public OperationCanceledException() : base(Environment.GetResourceString("OperationCanceled")) { SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); } public OperationCanceledException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); } public OperationCanceledException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); } protected OperationCanceledException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: OperationCanceledException ** ** ** Purpose: Exception for cancelled IO requests. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System { [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class OperationCanceledException : SystemException { public OperationCanceledException() : base(Environment.GetResourceString("OperationCanceled")) { SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); } public OperationCanceledException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); } public OperationCanceledException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); } protected OperationCanceledException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // 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
- CacheModeValueSerializer.cs
- ObjectDataSourceEventArgs.cs
- DependencySource.cs
- ObservableCollection.cs
- SimpleNameService.cs
- ClientType.cs
- thaishape.cs
- MultiBinding.cs
- ButtonBaseAdapter.cs
- NetworkInformationPermission.cs
- RowVisual.cs
- TraceAsyncResult.cs
- PackageRelationshipSelector.cs
- XmlChildEnumerator.cs
- HashMembershipCondition.cs
- _NTAuthentication.cs
- DbConnectionPoolGroupProviderInfo.cs
- ComponentEditorForm.cs
- HitTestWithGeometryDrawingContextWalker.cs
- OutputCacheProfile.cs
- InputReportEventArgs.cs
- WindowsFormsHostAutomationPeer.cs
- ZoneButton.cs
- SqlGenericUtil.cs
- CustomTokenProvider.cs
- SqlStream.cs
- XmlEventCache.cs
- ServicePointManagerElement.cs
- NameTable.cs
- WindowsListViewSubItem.cs
- SemaphoreSecurity.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- SequenceDesigner.cs
- BinaryObjectReader.cs
- ContextMenuStrip.cs
- XPathNodeInfoAtom.cs
- ColumnMapVisitor.cs
- EdmValidator.cs
- SectionInput.cs
- TreeNodeStyle.cs
- EntityViewGenerationConstants.cs
- DocumentSequenceHighlightLayer.cs
- CheckoutException.cs
- ECDsa.cs
- TableLayout.cs
- BamlReader.cs
- Walker.cs
- Bezier.cs
- HelpEvent.cs
- ResponseBodyWriter.cs
- TransportOutputChannel.cs
- SiteIdentityPermission.cs
- MemberProjectionIndex.cs
- Attributes.cs
- InputQueueChannel.cs
- FrameworkElement.cs
- ProfileInfo.cs
- Int32RectConverter.cs
- EnvelopedPkcs7.cs
- KerberosTicketHashIdentifierClause.cs
- ModuleConfigurationInfo.cs
- CellParaClient.cs
- ColorTranslator.cs
- PriorityItem.cs
- PageAdapter.cs
- CachedBitmap.cs
- ItemChangedEventArgs.cs
- DockProviderWrapper.cs
- LinearGradientBrush.cs
- DeclarativeCatalogPart.cs
- ThrowHelper.cs
- WebContext.cs
- RuleSetBrowserDialog.cs
- MenuItemAutomationPeer.cs
- BitmapEffectOutputConnector.cs
- ListManagerBindingsCollection.cs
- CustomPopupPlacement.cs
- SessionStateItemCollection.cs
- CultureMapper.cs
- DbParameterCollectionHelper.cs
- PopupRootAutomationPeer.cs
- RoutedEventArgs.cs
- UniqueIdentifierService.cs
- CultureTableRecord.cs
- ContainerActivationHelper.cs
- ExitEventArgs.cs
- ProjectionCamera.cs
- InputProviderSite.cs
- XamlPointCollectionSerializer.cs
- ContextMenuAutomationPeer.cs
- Rect.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SecurityContextTokenValidationException.cs
- Int32Converter.cs
- SystemIPGlobalStatistics.cs
- MetadataAssemblyHelper.cs
- XmlSchemaSimpleContentExtension.cs
- DesignerHierarchicalDataSourceView.cs
- AliasGenerator.cs
- PieceNameHelper.cs