ChannelListenerBase.WaitForChannel Method (TimeSpan)


When implemented in a derived class, waits for a channel to arrive.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool WaitForChannel(
	TimeSpan timeout


Type: System.TimeSpan

The TimeSpan that specifies how long the wait for a channel operation has to complete before timing out.

Return Value

Type: System.Boolean

true if a channel arrived before the interval of time specified by the timeout expired; otherwise false.

.NET Framework
Available since 3.0
Return to top