共用方式為


IVsWCFCompletionCallback Interface

Provides a callback 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

'宣告
<GuidAttribute("183F0821-1F02-4E07-901A-F4F19C162935")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWCFCompletionCallback
[GuidAttribute("183F0821-1F02-4E07-901A-F4F19C162935")]
[InterfaceTypeAttribute()]
public interface IVsWCFCompletionCallback
[GuidAttribute(L"183F0821-1F02-4E07-901A-F4F19C162935")]
[InterfaceTypeAttribute()]
public interface class IVsWCFCompletionCallback
[<GuidAttribute("183F0821-1F02-4E07-901A-F4F19C162935")>]
[<InterfaceTypeAttribute()>]
type IVsWCFCompletionCallback =  interface end
public interface IVsWCFCompletionCallback

The IVsWCFCompletionCallback type exposes the following members.

Methods

  Name Description
Public method OnFinished Provides notification for an asynchronous method call.

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