CommunicationPool<TKey,TItem>.TakeConnection 方法

定义

public:
 TItem TakeConnection(System::ServiceModel::EndpointAddress ^ address, Uri ^ via, TimeSpan timeout, [Runtime::InteropServices::Out] TKey % key);
public TItem TakeConnection (System.ServiceModel.EndpointAddress address, Uri via, TimeSpan timeout, out TKey key);
member this.TakeConnection : System.ServiceModel.EndpointAddress * Uri * TimeSpan * 'Key -> 'Item
Public Function TakeConnection (address As EndpointAddress, via As Uri, timeout As TimeSpan, ByRef key As TKey) As TItem

参数

address
EndpointAddress
via
Uri
timeout
TimeSpan
key
TKey

返回

TItem

适用于