public interface IWaitData<T> : IDisposable
Public Interface IWaitData(Of T)
Inherits IDisposable
type IWaitData<'T> =
interface
interface IDisposable
end
Status | 等待对象的状态 |
WaitResult | 等待结果 |
Cancel | 取消等待 |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (继承自 IDisposable。) |
Reset | Reset。 设置WaitResult为null。然后重置状态为Default |
Set | 使等待的线程继续执行 |
Set(T) | 使等待的线程继续执行 |
SetCancellationToken | 加载取消令箭 |
SetResult | 载入结果 |
SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |