FileSectionResult(ResultCode, String, ByteBlock, FileSection) 构造函数
构造函数:初始化FileSectionResult对象,用于处理文件段结果,包括错误信息。
命名空间: TouchSocket.Dmtp.FileTransfer程序集: TouchSocket.Dmtp (在 TouchSocket.Dmtp.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public FileSectionResult(
ResultCode resultCode,
string message,
ByteBlock value,
FileSection fileSection
)
Public Sub New (
resultCode As ResultCode,
message As String,
value As ByteBlock,
fileSection As FileSection
)
new :
resultCode : ResultCode *
message : string *
value : ByteBlock *
fileSection : FileSection -> FileSectionResult
参数
- resultCode ResultCode
- 结果代码,表示操作的执行情况。
- message String
- 错误消息,提供操作失败的详细信息。
- value ByteBlock
- 字节块数据,表示处理的结果值。
- fileSection FileSection
- 文件段信息,表示操作涉及的文件段。