SiemensWebApiConnectCloseAsync 方法 |
和PLC断开当前的连接信息,主要是使得Token信息失效。
Disconnecting the current connection information from the PLC mainly makes the token information invalid.
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> ConnectCloseAsync()
Public Function ConnectCloseAsync As Task(Of OperateResult)
public:
Task<OperateResult^>^ ConnectCloseAsync()
member ConnectCloseAsync : unit -> Task<OperateResult>
返回值
类型:
TaskOperateResult是否断开成功
参见