IChannelListener.WaitForChannel(TimeSpan) 方法

定義

等候通道抵達。

public:
 bool WaitForChannel(TimeSpan timeout);
public bool WaitForChannel (TimeSpan timeout);
abstract member WaitForChannel : TimeSpan -> bool
Public Function WaitForChannel (timeout As TimeSpan) As Boolean

參數

timeout
TimeSpan

指定在逾時前必須等候通道作業完成之時間的 TimeSpan

傳回

如果通道在 timeout 指定的時間間隔之前抵達則為 true,否則為 false

適用於