IVsExtensionRepository.DownloadAsyncCancel 方法
Cancels an asynchronous download operation.
命名空間: Microsoft.VisualStudio.ExtensionManager
組件: Microsoft.VisualStudio.ExtensionManager (在 Microsoft.VisualStudio.ExtensionManager.dll 中)
語法
'宣告
Sub DownloadAsyncCancel ( _
downloadJobId As Guid _
)
void DownloadAsyncCancel(
Guid downloadJobId
)
void DownloadAsyncCancel(
Guid downloadJobId
)
abstract DownloadAsyncCancel :
downloadJobId:Guid -> unit
function DownloadAsyncCancel(
downloadJobId : Guid
)
參數
downloadJobId
類型:GuidThe ID of the download operation to be canceled.
備註
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
The GUID that is required by this method is returned by the DownloadAsync method.
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。