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

AsyncExchangeTIValueTaskSourceReadLeaseTOnCompleted 方法

Schedules the continuation action for this IValueTaskSourceTResult.

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
void IValueTaskSource<ReadLease<T>>.OnCompleted(
	Action<Object> continuation,
	Object state,
	short cancellationToken,
	ValueTaskSourceOnCompletedFlags flags
)

参数

continuation  ActionObject
The continuation to invoke when the operation has completed.
state  Object
The state object to pass to continuation when it's invoked.
cancellationToken  Int16

[缺少 "M:TouchSocket.Core.AsyncExchange`1.System#Threading#Tasks#Sources#IValueTaskSource{TouchSocket#Core#ReadLease{T}}#OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)" 的 <param name="cancellationToken"/> 文档]

flags  ValueTaskSourceOnCompletedFlags
The flags describing the behavior of the continuation.

实现

IValueTaskSourceTResultOnCompleted(ActionObject, Object, Int16, ValueTaskSourceOnCompletedFlags)

参见