ChannelListenerBase.WaitForChannel(TimeSpan) メソッド

定義

派生クラスとして実装された場合、チャネルの受信を待機します。

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

パラメーター

timeout
TimeSpan

チャネル操作の待機を完了する必要がある制限時間を指定する TimeSpan。この時間を経過すると、タイムアウトします。

戻り値

Boolean

timeout で指定した時間内にチャネルを受信した場合は true。それ以外の場合は false

実装

適用対象