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

IBlockResultT 接口

定义了一个泛型接口,用于表示一块不可变内存的处理结果。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public interface IBlockResult<T> : IDisposable
Implements
IDisposable

类型参数

T
内存中元素的类型。

属性

IsCompleted 获取表示内存处理是否完成的布尔值。
Memory 获取只读内存块。
Message 获取处理结果的消息。

方法

DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(继承自 IDisposable。)

扩展方法

SafeDispose 安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。)

参见