CommunicationPool<TKey,TItem> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
generic <typename TKey, typename TItem>
where TKey : class where TItem : classpublic ref class CommunicationPool abstract
public abstract class CommunicationPool<TKey,TItem> where TKey : class where TItem : class
type CommunicationPool<'Key, 'Item (requires 'Key : null and 'Item : null)> = class
Public MustInherit Class CommunicationPool(Of TKey, TItem)
类型参数
- TKey
- TItem
- 继承
-
CommunicationPool<TKey,TItem>
- 派生
构造函数
CommunicationPool<TKey,TItem>(Int32) |
属性
MaxIdleConnectionPoolCount | |
ThisLock |
方法
AbortItem(TItem) | |
AddConnection(TKey, TItem, TimeSpan) | |
Close(TimeSpan) | |
CloseItem(TItem, TimeSpan) | |
CloseItemAsync(TItem, TimeSpan) | |
CreateEndpointConnectionPool(TKey) | |
Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
GetHashCode() |
作为默认哈希函数。 (继承自 Object) |
GetPoolKey(EndpointAddress, Uri) | |
GetType() |
获取当前实例的 Type。 (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
OnClosed() | |
ReturnConnection(TKey, TItem, Boolean, TimeSpan) | |
TakeConnection(EndpointAddress, Uri, TimeSpan, TKey) | |
ToString() |
返回表示当前对象的字符串。 (继承自 Object) |
TryOpen() |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈