Click or drag to resize

ThreadTimeoutAfter Method (TimeSpan)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Specify a new timeout. Note that the calling thread's timeout will only be changed if the specified timeout is less than any existing timeout already active on the thread.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static ThreadTimeout After(
	TimeSpan timeSpan
)

Parameters

timeSpan
Type: SystemTimeSpan
The new timeout.

Return Value

Type: ThreadTimeout
A ThreadTimeout instance to be used within a using block.
Remarks
The sub-millisecond portion of the TimeSpan (if any) will be discarded.
See Also