WaitHandlePoolTGetWaitDataAsync(T, Boolean) 方法
获取异步等待数据对象,并为其设置结果。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public WaitDataAsync<T> GetWaitDataAsync(
T result,
bool autoSign = true
)
Public Function GetWaitDataAsync (
result As T,
Optional autoSign As Boolean = true
) As WaitDataAsync(Of T)
member GetWaitDataAsync :
result : 'T *
?autoSign : bool
(* Defaults:
let _autoSign = defaultArg autoSign true
*)
-> WaitDataAsync<'T>
- result T
- 要设置给等待数据对象的结果。
- autoSign Boolean (Optional)
- 是否自动签名,默认为true。
WaitDataAsyncT初始化后的等待数据对象。