Share via


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

適用於