Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ReadOnlyObservableCollection.cs
- Currency.cs
- __Filters.cs
- SafeCryptoHandles.cs
- Font.cs
- XmlSchemaDatatype.cs
- LOSFormatter.cs
- WindowsTooltip.cs
- XmlSchemaGroupRef.cs
- SQLMoneyStorage.cs
- PeerObject.cs
- DynamicPropertyHolder.cs
- OpCodes.cs
- XamlStyleSerializer.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlnsDictionary.cs
- UIAgentRequest.cs
- DebuggerAttributes.cs
- DesignTimeParseData.cs
- _NegotiateClient.cs
- XmlArrayAttribute.cs
- TdsParserStaticMethods.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SplitContainer.cs
- PropertyDescriptor.cs
- TypeLoadException.cs
- ReaderWriterLockSlim.cs
- TreeIterator.cs
- RawAppCommandInputReport.cs
- ProcessInputEventArgs.cs
- AdapterSwitches.cs
- WinEventTracker.cs
- DescendantOverDescendantQuery.cs
- SafeThemeHandle.cs
- ContainerVisual.cs
- InputLanguageProfileNotifySink.cs
- StylusButtonCollection.cs
- WindowVisualStateTracker.cs
- TransformPattern.cs
- basenumberconverter.cs
- DynamicResourceExtensionConverter.cs
- SqlConnectionManager.cs
- PlatformCulture.cs
- TimeSpan.cs
- SymmetricAlgorithm.cs
- HtmlTableCell.cs
- WindowsToolbarAsMenu.cs
- PackageRelationshipCollection.cs
- MsmqIntegrationOutputChannel.cs
- SignedXml.cs
- RemotingException.cs
- BindingCollection.cs
- Message.cs
- Internal.cs
- XmlDeclaration.cs
- TransformGroup.cs
- OleDbStruct.cs
- HttpVersion.cs
- Object.cs
- ErrorLog.cs
- CellParaClient.cs
- XmlEntityReference.cs
- StringResourceManager.cs
- RepeaterDesigner.cs
- XamlInt32CollectionSerializer.cs
- OdbcErrorCollection.cs
- BulletChrome.cs
- CorrelationManager.cs
- VectorAnimationBase.cs
- Perspective.cs
- SemanticResolver.cs
- XmlSchemaDatatype.cs
- RenderingBiasValidation.cs
- MessageEventSubscriptionService.cs
- ImageField.cs
- CaseKeyBox.xaml.cs
- ValidationErrorEventArgs.cs
- TextContainer.cs
- BuildProviderInstallComponent.cs
- EmptyWorkItem.cs
- LongMinMaxAggregationOperator.cs
- BatchParser.cs
- ZoneMembershipCondition.cs
- Itemizer.cs
- WindowCollection.cs
- Section.cs
- InternalControlCollection.cs
- Vector3DIndependentAnimationStorage.cs
- AppDomainProtocolHandler.cs
- ImageAutomationPeer.cs
- PropertyConverter.cs
- PerfCounters.cs
- Emitter.cs
- BamlLocalizabilityResolver.cs
- XsltSettings.cs
- HostSecurityManager.cs
- StrokeNodeOperations2.cs
- NavigatorInput.cs
- PointCollectionValueSerializer.cs
- TimeStampChecker.cs