Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LOSFormatter.cs
- PropertyDescriptorCollection.cs
- linebase.cs
- xsdvalidator.cs
- EndOfStreamException.cs
- Common.cs
- OdbcErrorCollection.cs
- RequestDescription.cs
- LineBreak.cs
- Compiler.cs
- UnsafeNativeMethods.cs
- DetailsViewUpdatedEventArgs.cs
- figurelengthconverter.cs
- PropertyChangeTracker.cs
- NotifyParentPropertyAttribute.cs
- HttpDebugHandler.cs
- XmlDocumentFragment.cs
- LinkClickEvent.cs
- CollectionChangeEventArgs.cs
- TdsParserSafeHandles.cs
- CurrentTimeZone.cs
- storagemappingitemcollection.viewdictionary.cs
- AutomationProperties.cs
- SqlCacheDependencyDatabaseCollection.cs
- SystemException.cs
- SelectionPattern.cs
- ServicePointManager.cs
- ImageButton.cs
- PublisherIdentityPermission.cs
- MaterialGroup.cs
- PropagatorResult.cs
- PropertyIDSet.cs
- InvalidDataException.cs
- RIPEMD160.cs
- ConfigXmlReader.cs
- MessageDecoder.cs
- UserControlBuildProvider.cs
- HitTestFilterBehavior.cs
- EntityRecordInfo.cs
- SqlTrackingWorkflowInstance.cs
- SoapHeaderAttribute.cs
- SelectQueryOperator.cs
- FreezableCollection.cs
- Fonts.cs
- MenuItemCollectionEditor.cs
- CodeCommentStatement.cs
- WpfXamlType.cs
- PeerName.cs
- CodeCompileUnit.cs
- XmlExceptionHelper.cs
- DropDownList.cs
- AssemblyInfo.cs
- DesignerExtenders.cs
- Focus.cs
- securestring.cs
- CustomError.cs
- SettingsAttributes.cs
- WindowsBrush.cs
- PathSegment.cs
- PartManifestEntry.cs
- AbstractSvcMapFileLoader.cs
- DataComponentGenerator.cs
- Point.cs
- ConfigurationLockCollection.cs
- NativeMethods.cs
- SmtpTransport.cs
- DesignerCommandSet.cs
- FormsAuthentication.cs
- Point3DIndependentAnimationStorage.cs
- QuaternionIndependentAnimationStorage.cs
- TrustLevelCollection.cs
- QilTernary.cs
- DesignerWithHeader.cs
- SplashScreen.cs
- Geometry.cs
- SoapAttributeOverrides.cs
- XmlArrayAttribute.cs
- DataKeyArray.cs
- SubpageParagraph.cs
- DrawingGroupDrawingContext.cs
- HtmlShim.cs
- SettingsBindableAttribute.cs
- DataSourceHelper.cs
- smtppermission.cs
- X509Chain.cs
- ToolStripGripRenderEventArgs.cs
- httpstaticobjectscollection.cs
- Int32Rect.cs
- PerformanceCounterPermission.cs
- ScriptReferenceBase.cs
- Point4DConverter.cs
- _LocalDataStore.cs
- AtomServiceDocumentSerializer.cs
- EdgeModeValidation.cs
- initElementDictionary.cs
- ProviderSettingsCollection.cs
- MappingMetadataHelper.cs
- Queue.cs
- ParameterElement.cs
- Point3DCollectionConverter.cs