Edit

Share via


TimeoutHelper.ThrowIfNonPositiveArgument Method

Definition

Overloads

ThrowIfNonPositiveArgument(TimeSpan)
ThrowIfNonPositiveArgument(TimeSpan, String)

ThrowIfNonPositiveArgument(TimeSpan)

public:
 static void ThrowIfNonPositiveArgument(TimeSpan timeout);
public static void ThrowIfNonPositiveArgument (TimeSpan timeout);
static member ThrowIfNonPositiveArgument : TimeSpan -> unit
Public Shared Sub ThrowIfNonPositiveArgument (timeout As TimeSpan)

Parameters

timeout
TimeSpan

Applies to

ThrowIfNonPositiveArgument(TimeSpan, String)

public:
 static void ThrowIfNonPositiveArgument(TimeSpan timeout, System::String ^ argumentName);
public static void ThrowIfNonPositiveArgument (TimeSpan timeout, string argumentName);
static member ThrowIfNonPositiveArgument : TimeSpan * string -> unit
Public Shared Sub ThrowIfNonPositiveArgument (timeout As TimeSpan, argumentName As String)

Parameters

timeout
TimeSpan
argumentName
String

Applies to