Udostępnij za pośrednictwem


DelayStrategy.Max(TimeSpan, TimeSpan) Method

Definition

Gets the maximum of two TimeSpan values.

protected static TimeSpan Max (TimeSpan val1, TimeSpan val2);
static member Max : TimeSpan * TimeSpan -> TimeSpan
Protected Shared Function Max (val1 As TimeSpan, val2 As TimeSpan) As TimeSpan

Parameters

val1
TimeSpan

The first value.

val2
TimeSpan

The second value.

Returns

The maximum of the two TimeSpan values.

Applies to