IVsWCFAsyncResult Interface

 

Provides an interface for monitoring the progress of asynchronous calls to Windows Communication Foundation (WCF) service providers.

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

[GuidAttribute("70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")]
[InterfaceTypeAttribute(1)]
public interface IVsWCFAsyncResult

NameDescription
System_CAPS_pubmethodCancel()

Cancels an asynchronous method call.

System_CAPS_pubmethodGetCustomState()

Returns custom state object passed to an asynchronous method

System_CAPS_pubmethodGetMethodResult()

Returns the HResult returned by the method that was called asynchronously.

System_CAPS_pubmethodIsCancelled()

Returns a value determining whether an asynchronous method was canceled.

System_CAPS_pubmethodIsCompleted()

Returns a value determining whether an asynchronous method was completed.

Some object methods are exposed in two versions: synchronous and asynchronous. The asynchronous version follows the .NET asynchronous call pattern. An important distinction is that the asynchronous version does not support passive waiting. The consumer of these methods can be notified about method completion either through the IVsWCFCompletionCallback callback mechanism, or by polling the IVsWCFAsyncResult.

Return to top
Show: