共用方式為


IVsWCFAsyncResult Interface

Definition

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

public interface class IVsWCFAsyncResult
public interface class IVsWCFAsyncResult
__interface IVsWCFAsyncResult
[System.Runtime.InteropServices.Guid("70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWCFAsyncResult
[<System.Runtime.InteropServices.Guid("70D6D8A3-1D8D-44E8-8CD8-64B047E9F309")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWCFAsyncResult = interface
Public Interface IVsWCFAsyncResult
Attributes

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.

Methods

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.

Applies to