共用方式為


IVsWCFAsyncResult.Cancel 方法

取消非同步方法呼叫。

命名空間:  Microsoft.VisualStudio.WCFReference.Interop
組件:  Microsoft.VisualStudio.WCFReference.Interop (在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

語法

'宣告
Sub Cancel
void Cancel()
void Cancel()
abstract Cancel : unit -> unit
function Cancel()

備註

呼叫IsCancelled來判斷在呼叫這個方法之前,是否已經已經取消呼叫。

.NET Framework 安全性

請參閱

參考

IVsWCFAsyncResult 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間