Share via


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)

Syntax

'Declaration
<GuidAttribute("70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWCFAsyncResult
[GuidAttribute("70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")]
[InterfaceTypeAttribute()]
public interface IVsWCFAsyncResult
[GuidAttribute(L"70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")]
[InterfaceTypeAttribute()]
public interface class IVsWCFAsyncResult
[<GuidAttribute("70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")>]
[<InterfaceTypeAttribute()>]
type IVsWCFAsyncResult =  interface end
public interface IVsWCFAsyncResult

The IVsWCFAsyncResult type exposes the following members.

Methods

  Name Description
Public method Cancel Cancels an asynchronous method call.
Public method GetCustomState Returns custom state object passed to an asynchronous method
Public method GetMethodResult Returns the HResult returned by the method that was called asynchronously.
Public method IsCancelled Returns a value determining whether an asynchronous method was canceled.
Public method IsCompleted Returns a value determining whether an asynchronous method was completed.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace