MqttSyncClientDeleteFileAsync 方法 (String, String) |
[文件引擎] 删除服务器的指定的文件名,需要指定分类信息,文件名
[File Engine] Delete the specified file name of the server, need to specify the classification information, file name
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> DeleteFileAsync(
string groups,
string[] fileNames
)
Public Function DeleteFileAsync (
groups As String,
fileNames As String()
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ DeleteFileAsync(
String^ groups,
array<String^>^ fileNames
)
member DeleteFileAsync :
groups : string *
fileNames : string[] -> Task<OperateResult>
参数
- groups
- 类型:SystemString
文件的类别,例如 Files/Personal/Admin 按照斜杠来区分 - fileNames
- 类型:SystemString
[缺少 "M:HslCommunication.MQTT.MqttSyncClient.DeleteFileAsync(System.String,System.String[])" 的 <param name="fileNames"/> 文档]
返回值
类型:
TaskOperateResult是否删除成功
参见