MqttServerDownloadFileRedirect 属性 |
可以自定义重新指向需要下载的文件路径信息,第一个参数是下载文件名称,第个参数是实际映射名称,需要返回新的文件路径和下载完成是否删除的信息
You can customize the redirection of the file path that needs to be downloaded. The first parameter is the name of the downloaded file,
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.3.0.0 (12.3.0.0)
语法public Func<MqttSession, string, string, OperateResult<string, bool>> DownloadFileRedirect { get; set; }
Public Property DownloadFileRedirect As Func(Of MqttSession, String, String, OperateResult(Of String, Boolean))
Get
Set
public:
property Func<MqttSession^, String^, String^, OperateResult<String^, bool>^>^ DownloadFileRedirect {
Func<MqttSession^, String^, String^, OperateResult<String^, bool>^>^ get ();
void set (Func<MqttSession^, String^, String^, OperateResult<String^, bool>^>^ value);
}
member DownloadFileRedirect : Func<MqttSession, string, string, OperateResult<string, bool>> with get, set
属性值
类型:
FuncMqttSession,
String,
String,
OperateResultString,
Boolean
参见