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
- WebScriptMetadataMessage.cs
- CompressionTracing.cs
- EncodedStreamFactory.cs
- Timer.cs
- DocumentViewerBaseAutomationPeer.cs
- SymmetricCryptoHandle.cs
- TextSelectionProcessor.cs
- ConsumerConnectionPoint.cs
- HttpListenerPrefixCollection.cs
- TextRangeProviderWrapper.cs
- SplayTreeNode.cs
- MediaContextNotificationWindow.cs
- QueryConverter.cs
- HostedTcpTransportManager.cs
- SmiMetaDataProperty.cs
- cookie.cs
- BinaryMethodMessage.cs
- PowerEase.cs
- WindowsMenu.cs
- ObjRef.cs
- SqlDataSourceView.cs
- PeerInvitationResponse.cs
- Compiler.cs
- CompensateDesigner.cs
- PropertyStore.cs
- WebBrowserContainer.cs
- OleDbParameterCollection.cs
- WindowsPen.cs
- Parser.cs
- ContractHandle.cs
- ValidationManager.cs
- LongCountAggregationOperator.cs
- PointConverter.cs
- TripleDES.cs
- XmlWriterSettings.cs
- MimeBasePart.cs
- SerializationStore.cs
- CommonRemoteMemoryBlock.cs
- EventLogException.cs
- MailAddress.cs
- ConnectionString.cs
- TraceHandler.cs
- ThicknessAnimationBase.cs
- NetDataContractSerializer.cs
- Int32Rect.cs
- IResourceProvider.cs
- SafeSecurityHandles.cs
- JsonDeserializer.cs
- WindowsFormsHelpers.cs
- Common.cs
- PopupEventArgs.cs
- Encoding.cs
- XmlChoiceIdentifierAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- ClientCultureInfo.cs
- CLSCompliantAttribute.cs
- UriSectionReader.cs
- UIPermission.cs
- ScrollChrome.cs
- MissingMethodException.cs
- SQLDoubleStorage.cs
- ThicknessConverter.cs
- CodeAttributeArgumentCollection.cs
- CompositeFontInfo.cs
- ToolStripPanelRow.cs
- SystemIPGlobalProperties.cs
- Itemizer.cs
- ToolboxItemAttribute.cs
- MetadataItem_Static.cs
- BitmapImage.cs
- EncoderFallback.cs
- KnownIds.cs
- ExtentKey.cs
- Double.cs
- AutomationPeer.cs
- OlePropertyStructs.cs
- PingReply.cs
- LiteralDesigner.cs
- arabicshape.cs
- StyleSheetDesigner.cs
- RequestCache.cs
- EventListener.cs
- SingleAnimationBase.cs
- ToolstripProfessionalRenderer.cs
- ModuleConfigurationInfo.cs
- ToolStripArrowRenderEventArgs.cs
- ParallelTimeline.cs
- HelpInfo.cs
- EventLogPermissionAttribute.cs
- RemoteWebConfigurationHostServer.cs
- SingleBodyParameterMessageFormatter.cs
- configsystem.cs
- shaperfactoryquerycacheentry.cs
- Metafile.cs
- SuppressIldasmAttribute.cs
- CompletionProxy.cs
- ActivityTrace.cs
- FreezableDefaultValueFactory.cs
- AppSettingsExpressionBuilder.cs
- SqlCharStream.cs