Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CultureInfo.cs
- X509WindowsSecurityToken.cs
- DataGridHeaderBorder.cs
- ProtocolsSection.cs
- Trustee.cs
- SqlCacheDependencyDatabaseCollection.cs
- RegexWorker.cs
- Tool.cs
- BitmapEffect.cs
- UrlMappingCollection.cs
- BreakRecordTable.cs
- ContentPropertyAttribute.cs
- TreeNode.cs
- ManualResetEvent.cs
- CompatibleComparer.cs
- formatstringdialog.cs
- PhoneCall.cs
- Tag.cs
- Privilege.cs
- ColorConverter.cs
- DataBindingHandlerAttribute.cs
- WebPartTransformer.cs
- CaseStatementSlot.cs
- DataGridViewColumnCollection.cs
- SessionSwitchEventArgs.cs
- PostBackOptions.cs
- PixelFormatConverter.cs
- InstalledVoice.cs
- MergePropertyDescriptor.cs
- HandleCollector.cs
- ConsoleKeyInfo.cs
- WinInetCache.cs
- DirectionalLight.cs
- TagPrefixCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- TemplateModeChangedEventArgs.cs
- AlgoModule.cs
- JoinElimination.cs
- ToolStripItemRenderEventArgs.cs
- COM2TypeInfoProcessor.cs
- XmlCompatibilityReader.cs
- CatalogPart.cs
- TreeViewImageKeyConverter.cs
- CodeLabeledStatement.cs
- TextModifierScope.cs
- Interfaces.cs
- SafeWaitHandle.cs
- WebHttpBindingElement.cs
- MatrixCamera.cs
- NullableDoubleAverageAggregationOperator.cs
- ChannelTerminatedException.cs
- ErrorWebPart.cs
- _NTAuthentication.cs
- EntityCommandCompilationException.cs
- Parser.cs
- DataGridViewColumnConverter.cs
- SmtpTransport.cs
- SchemaNames.cs
- DiscoveryOperationContextExtension.cs
- ExpressionPrefixAttribute.cs
- TraceListener.cs
- ForceCopyBuildProvider.cs
- ParallelTimeline.cs
- SystemColorTracker.cs
- XmlSchemaType.cs
- RuntimeConfig.cs
- TransformConverter.cs
- BindableTemplateBuilder.cs
- CookieHandler.cs
- ExpandSegment.cs
- AttachedPropertyBrowsableAttribute.cs
- SafeRegistryKey.cs
- ContextStack.cs
- WaitingCursor.cs
- ClonableStack.cs
- GeneralTransform.cs
- NavigatorInvalidBodyAccessException.cs
- ToolStripPanelRenderEventArgs.cs
- BitArray.cs
- Int32AnimationUsingKeyFrames.cs
- TypedTableBaseExtensions.cs
- IconBitmapDecoder.cs
- ServiceEndpointCollection.cs
- StateRuntime.cs
- ExpressionList.cs
- ActivityDesigner.cs
- TabPanel.cs
- SQLByte.cs
- PolicyException.cs
- FtpCachePolicyElement.cs
- PrintingPermissionAttribute.cs
- RelativeSource.cs
- ListMarkerSourceInfo.cs
- FontEmbeddingManager.cs
- AllowedAudienceUriElement.cs
- UInt16.cs
- FixedStringLookup.cs
- DrawingContextWalker.cs
- OrderPreservingSpoolingTask.cs
- InlinedAggregationOperatorEnumerator.cs