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 fileName
)
Public Function DeleteFileAsync (
groups As String,
fileName As String
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ DeleteFileAsync(
String^ groups,
String^ fileName
)
member DeleteFileAsync :
groups : string *
fileName : string -> Task<OperateResult>
参数
- groups
- 类型:SystemString
文件的类别,例如 Files/Personal/Admin 按照斜杠来区分 - fileName
- 类型:SystemString
文件名信息
返回值
类型:
TaskOperateResult是否删除成功
参见