Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / CompletedAsyncResult.cs / 1 / CompletedAsyncResult.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel { using System.ServiceModel.Diagnostics; class CompletedAsyncResult : AsyncResult { public CompletedAsyncResult(AsyncCallback callback, object state) : base(callback, state) { Complete(true); } public CompletedAsyncResult(Exception exception, AsyncCallback callback, object state) : base(callback, state) { Complete(true, exception); } public static void End(IAsyncResult result) { AsyncResult.End(result); } } } // 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
- Hash.cs
- XmlWhitespace.cs
- GeometryDrawing.cs
- DelimitedListTraceListener.cs
- TickBar.cs
- _CommandStream.cs
- ImageFormatConverter.cs
- AssemblyName.cs
- Baml2006Reader.cs
- AbandonedMutexException.cs
- ExtendedPropertyDescriptor.cs
- DesignerUtils.cs
- UnsafeNativeMethods.cs
- DesignerWebPartChrome.cs
- PersonalizationStateQuery.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- JavaScriptObjectDeserializer.cs
- RefreshPropertiesAttribute.cs
- AutomationElementIdentifiers.cs
- GridViewEditEventArgs.cs
- AccessText.cs
- Attributes.cs
- JavascriptCallbackMessageInspector.cs
- Vector3DValueSerializer.cs
- ParserContext.cs
- sortedlist.cs
- RectangleF.cs
- CancellationToken.cs
- UserControlCodeDomTreeGenerator.cs
- StringReader.cs
- objectresult_tresulttype.cs
- FormsAuthenticationUser.cs
- CapabilitiesSection.cs
- CodeEntryPointMethod.cs
- SocketInformation.cs
- DrawingContext.cs
- EventManager.cs
- ExpressionServices.cs
- WebHttpSecurity.cs
- DebugView.cs
- Fault.cs
- ResourceWriter.cs
- OutputCacheSettings.cs
- XPathItem.cs
- XmlTypeAttribute.cs
- MaskInputRejectedEventArgs.cs
- Expression.cs
- GacUtil.cs
- PageRanges.cs
- InitializationEventAttribute.cs
- RequestQueue.cs
- RangeValuePatternIdentifiers.cs
- ColorContextHelper.cs
- GraphicsContainer.cs
- MetadataSource.cs
- ActiveXHost.cs
- KeyProperty.cs
- _BasicClient.cs
- RootBuilder.cs
- DataFormats.cs
- ImageFormat.cs
- DataSourceXmlAttributeAttribute.cs
- XComponentModel.cs
- SelectionPattern.cs
- BamlCollectionHolder.cs
- WindowsScrollBar.cs
- PaintValueEventArgs.cs
- TabletDevice.cs
- ZoomPercentageConverter.cs
- QueryOutputWriter.cs
- DesignerActionListCollection.cs
- TablePattern.cs
- XamlFrame.cs
- EntityClientCacheEntry.cs
- SqlGatherProducedAliases.cs
- CSharpCodeProvider.cs
- XamlSerializer.cs
- InputDevice.cs
- DataGridViewCellValidatingEventArgs.cs
- X509Chain.cs
- BitmapImage.cs
- DefaultEventAttribute.cs
- ScriptIgnoreAttribute.cs
- StyleCollection.cs
- WebPartCatalogAddVerb.cs
- StrokeNodeOperations.cs
- KeyValuePair.cs
- InnerItemCollectionView.cs
- DataGridColumn.cs
- SqlAliasesReferenced.cs
- ScalarConstant.cs
- BufferedReadStream.cs
- Stacktrace.cs
- CustomCategoryAttribute.cs
- BrowserCapabilitiesFactory.cs
- SQLDecimal.cs
- HttpException.cs
- safelinkcollection.cs
- Attributes.cs