Bagikan melalui


Observable.Timeout Method

Include Protected Members
Include Inherited Members

Returns the observable sequence with a TimeoutException in case of a timeout.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Timeout<TSource>(IObservable<TSource>, DateTimeOffset) Returns either the observable sequence or a TimeoutException if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, TimeSpan) Returns either the observable sequence or an TimeoutException if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, DateTimeOffset, IObservable<TSource>) Returns either the observable sequence or an TimeoutException if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, DateTimeOffset, IScheduler) Returns either the observable sequence or an TimeoutException if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, TimeSpan, IObservable<TSource>) Returns the source observable sequence or the other observable sequence if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, TimeSpan, IScheduler) Returns either the observable sequence or an TimeoutException if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, DateTimeOffset, IObservable<TSource>, IScheduler) Returns the source observable sequence or the other observable sequence if dueTime elapses.
Public methodStatic member Timeout<TSource>(IObservable<TSource>, TimeSpan, IObservable<TSource>, IScheduler) Returns the source observable sequence or the other observable sequence if dueTime elapses.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace