Channel 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于创建通道的静态方法。
public ref class Channel abstract sealed
public static class Channel
type Channel = class
Public Class Channel
- 继承
-
Channel
方法
CreateBounded<T>(BoundedChannelOptions) |
创建具有指定的最大容量的通道。 |
CreateBounded<T>(BoundedChannelOptions, Action<T>) |
创建一个通道,主题为提供的选项。 |
CreateBounded<T>(Int32) |
创建具有指定的最大容量的通道。 |
CreateUnbounded<T>() |
创建可由任意数量的读取器和编写器同时使用的无限通道。 |
CreateUnbounded<T>(UnboundedChannelOptions) |
根据提供的选项创建无限通道。 |