Code:
/ FX-1434 / FX-1434 / 1.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
- BaseAddressElement.cs
- CodeDomSerializerException.cs
- IdentityVerifier.cs
- TypeReference.cs
- RoutedPropertyChangedEventArgs.cs
- XsltConvert.cs
- SiteMapDataSource.cs
- RequestSecurityTokenForGetBrowserToken.cs
- DriveNotFoundException.cs
- TargetException.cs
- FixedTextContainer.cs
- KeyPullup.cs
- ProcessModuleCollection.cs
- KnownTypesHelper.cs
- HtmlElementCollection.cs
- XmlSchemaSimpleTypeUnion.cs
- DataTableNewRowEvent.cs
- RelatedImageListAttribute.cs
- ParsedRoute.cs
- DataSetUtil.cs
- HttpHandlerActionCollection.cs
- ColumnResult.cs
- AutomationPeer.cs
- SyndicationFeed.cs
- TextServicesDisplayAttributePropertyRanges.cs
- SchemaType.cs
- Internal.cs
- SqlRemoveConstantOrderBy.cs
- ElementNotEnabledException.cs
- BuildProviderAppliesToAttribute.cs
- BitmapData.cs
- ToolBarTray.cs
- AsyncContentLoadedEventArgs.cs
- BufferModesCollection.cs
- PropertyFilterAttribute.cs
- DispatchChannelSink.cs
- MenuItemBindingCollection.cs
- log.cs
- Monitor.cs
- MetadataSource.cs
- CacheOutputQuery.cs
- SqlDataRecord.cs
- SoapObjectWriter.cs
- SqlDataSourceCommandEventArgs.cs
- KeyboardNavigation.cs
- XmlSchemaSimpleTypeRestriction.cs
- UpdatePanelTrigger.cs
- SqlUdtInfo.cs
- CommandArguments.cs
- IndexedSelectQueryOperator.cs
- HttpsTransportElement.cs
- TextEditorMouse.cs
- DataRecordInfo.cs
- StubHelpers.cs
- Activity.cs
- JsonServiceDocumentSerializer.cs
- TypedTableBase.cs
- MsmqIntegrationChannelListener.cs
- RelatedCurrencyManager.cs
- ValidationErrorCollection.cs
- ClearTypeHintValidation.cs
- HtmlHistory.cs
- EventEntry.cs
- SecurityPolicySection.cs
- StringPropertyBuilder.cs
- QueryCacheManager.cs
- Control.cs
- StringFunctions.cs
- coordinator.cs
- SecurityTokenProvider.cs
- RegisteredDisposeScript.cs
- CollectionBase.cs
- TcpClientCredentialType.cs
- EventMappingSettingsCollection.cs
- UInt64Converter.cs
- HashStream.cs
- DataGridViewHeaderCell.cs
- AgileSafeNativeMemoryHandle.cs
- HtmlInputControl.cs
- ScriptControlManager.cs
- HandlerMappingMemo.cs
- DoubleAnimationClockResource.cs
- XpsFilter.cs
- BmpBitmapEncoder.cs
- ListViewGroupItemCollection.cs
- coordinatorfactory.cs
- ScrollItemProviderWrapper.cs
- XmlTextWriter.cs
- TextPattern.cs
- TextFormatter.cs
- PartialToken.cs
- DataGridViewRowHeaderCell.cs
- mediaeventshelper.cs
- InternalSafeNativeMethods.cs
- IdentityReference.cs
- DbParameterHelper.cs
- BinaryNode.cs
- StopRoutingHandler.cs
- DispatcherObject.cs
- NavigationPropertyEmitter.cs