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
'Dichiarazione
<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 | |
---|---|---|
Cancel | Cancels an asynchronous method call. | |
GetCustomState | Returns custom state object passed to an asynchronous method | |
GetMethodResult | Returns the HResult returned by the method that was called asynchronously. | |
IsCancelled | Returns a value determining whether an asynchronous method was canceled. | |
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.