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
- IntegerCollectionEditor.cs
- BamlResourceSerializer.cs
- FrameworkContentElement.cs
- Baml6Assembly.cs
- Point3DAnimationBase.cs
- AnnotationStore.cs
- FormViewUpdateEventArgs.cs
- XPathArrayIterator.cs
- CheckBoxAutomationPeer.cs
- AssociationSetMetadata.cs
- Command.cs
- AuthorizationSection.cs
- MessageQueuePermission.cs
- Common.cs
- PersonalizationDictionary.cs
- CustomGrammar.cs
- SoapSchemaExporter.cs
- WebCategoryAttribute.cs
- SettingsPropertyValue.cs
- NodeFunctions.cs
- EpmCustomContentWriterNodeData.cs
- CodeTryCatchFinallyStatement.cs
- LineSegment.cs
- ClassicBorderDecorator.cs
- WebRequest.cs
- NCryptSafeHandles.cs
- XomlCompilerParameters.cs
- SqlRewriteScalarSubqueries.cs
- PointAnimationClockResource.cs
- DBBindings.cs
- XPathMessageFilterElement.cs
- CodeDomSerializerBase.cs
- ResourceAttributes.cs
- GlyphingCache.cs
- RowType.cs
- StringBuilder.cs
- CircleHotSpot.cs
- ListViewPagedDataSource.cs
- DataBinding.cs
- HostingEnvironmentWrapper.cs
- CapabilitiesUse.cs
- IdnMapping.cs
- GradientStop.cs
- DesignOnlyAttribute.cs
- EntityType.cs
- WebBrowserEvent.cs
- CheckBoxRenderer.cs
- RtfControls.cs
- cookiecontainer.cs
- SourceLocationProvider.cs
- TriState.cs
- DataGrid.cs
- MultitargetingHelpers.cs
- NullableLongSumAggregationOperator.cs
- LockedAssemblyCache.cs
- Rotation3DAnimationUsingKeyFrames.cs
- Hyperlink.cs
- SByte.cs
- XmlSchemaObjectTable.cs
- DataListItemEventArgs.cs
- SQLDateTimeStorage.cs
- WmlValidationSummaryAdapter.cs
- TreeViewBindingsEditor.cs
- GroupByExpressionRewriter.cs
- CodeGenerator.cs
- CodeIdentifiers.cs
- adornercollection.cs
- ServiceProviders.cs
- ISFTagAndGuidCache.cs
- Activator.cs
- ToggleProviderWrapper.cs
- ZeroOpNode.cs
- OutOfMemoryException.cs
- Mutex.cs
- MainMenu.cs
- XmlSchemaChoice.cs
- _ListenerAsyncResult.cs
- ToolStripDropDownMenu.cs
- WorkflowTransactionOptions.cs
- PropertyIDSet.cs
- Internal.cs
- MdiWindowListItemConverter.cs
- SqlBulkCopyColumnMapping.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ZipIOModeEnforcingStream.cs
- CodePrimitiveExpression.cs
- DataReceivedEventArgs.cs
- XmlWellformedWriter.cs
- TabPanel.cs
- CompoundFileIOPermission.cs
- CodeArrayCreateExpression.cs
- SpecularMaterial.cs
- SettingsPropertyValueCollection.cs
- ISFClipboardData.cs
- Command.cs
- ColumnHeaderConverter.cs
- AssemblySettingAttributes.cs
- RequiredAttributeAttribute.cs
- ReturnType.cs
- SqlBuffer.cs