语法
HRESULT Abort();
参数
此方法没有任何参数。
返回值
返回值在成功时 S_OK ,否则返回值为错误值。
备注
可以中止异步和同步 Send 方法。 若要中止同步 Send 方法,必须从 IWinHttpRequestEvents 事件中调用 Abort。
注意
对于 Windows XP 和 Windows 2000,请参阅 WinHttp 起始页的 运行时要求 部分。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 |
Windows XP、Windows 2000 Professional 和 SP3 [仅限桌面应用] |
| 最低受支持的服务器 |
Windows Server 2003、Windows 2000 Server SP3 [仅限桌面应用] |
| 可再发行组件 |
Windows XP 和 Windows 2000 上的 WinHTTP 5.0 和 Internet Explorer 5.01 或更高版本。 |
| IDL |
|
| 库 |
|
| DLL |
|