Channel.CreateUnboundedPrioritized 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| CreateUnboundedPrioritized<T>() | 
						 同时创建任意数量的读取器和编写器可使用的无限优先通道。  | 
        	
| CreateUnboundedPrioritized<T>(UnboundedPrioritizedChannelOptions<T>) | 
						 创建一个不受限制的优先通道,但受提供的选项的约束。  | 
        	
CreateUnboundedPrioritized<T>()
- Source:
 - Channel.netcoreapp.cs
 
- Source:
 - Channel.netcoreapp.cs
 
- Source:
 - Channel.netcoreapp.cs
 
同时创建任意数量的读取器和编写器可使用的无限优先通道。
public:
generic <typename T>
 static System::Threading::Channels::Channel<T> ^ CreateUnboundedPrioritized();
	public static System.Threading.Channels.Channel<T> CreateUnboundedPrioritized<T>();
	static member CreateUnboundedPrioritized : unit -> System.Threading.Channels.Channel<'T>
	Public Shared Function CreateUnboundedPrioritized(Of T) () As Channel(Of T)
    类型参数
- T
 
返回
创建的通道。
注解
Default 用于确定元素的优先级。 从通道读取的下一项将是通道中具有最低优先级值的可用元素。
适用于
CreateUnboundedPrioritized<T>(UnboundedPrioritizedChannelOptions<T>)
- Source:
 - Channel.netcoreapp.cs
 
- Source:
 - Channel.netcoreapp.cs
 
- Source:
 - Channel.netcoreapp.cs
 
创建一个不受限制的优先通道,但受提供的选项的约束。
public:
generic <typename T>
 static System::Threading::Channels::Channel<T> ^ CreateUnboundedPrioritized(System::Threading::Channels::UnboundedPrioritizedChannelOptions<T> ^ options);
	public static System.Threading.Channels.Channel<T> CreateUnboundedPrioritized<T>(System.Threading.Channels.UnboundedPrioritizedChannelOptions<T> options);
	static member CreateUnboundedPrioritized : System.Threading.Channels.UnboundedPrioritizedChannelOptions<'T> -> System.Threading.Channels.Channel<'T>
	Public Shared Function CreateUnboundedPrioritized(Of T) (options As UnboundedPrioritizedChannelOptions(Of T)) As Channel(Of T)
    类型参数
- T
 
指定通道中的数据类型。
参数
指导通道行为的选项。
返回
创建的通道。
注解
提供的 Compareroptions 用于确定元素的优先级,或者 Default 提供的比较器是否 null。 从通道读取的下一项将是通道中具有最低优先级值的可用元素。