一款简单易用的基础网络通讯组件库。

LoadingStreamEventArgsWaitingLoadStreamAsync(Stream, TimeSpan) 方法

载入一个需要映射到远程的流文件。

Definition

命名空间: TouchSocket.Dmtp.RemoteStream
程序集: TouchSocketPro.Dmtp (在 TouchSocketPro.Dmtp.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public Task<bool> WaitingLoadStreamAsync(
	Stream stream,
	TimeSpan timeSpan
)

参数

stream  Stream

[缺少 "M:TouchSocket.Dmtp.RemoteStream.LoadingStreamEventArgs.WaitingLoadStreamAsync(System.IO.Stream,System.TimeSpan)" 的 <param name="stream"/> 文档]

timeSpan  TimeSpan

[缺少 "M:TouchSocket.Dmtp.RemoteStream.LoadingStreamEventArgs.WaitingLoadStreamAsync(System.IO.Stream,System.TimeSpan)" 的 <param name="timeSpan"/> 文档]

返回值

TaskBoolean

[缺少 "M:TouchSocket.Dmtp.RemoteStream.LoadingStreamEventArgs.WaitingLoadStreamAsync(System.IO.Stream,System.TimeSpan)" 的 <returns> 文档]

参见