Edit

Share via


TimeoutHelper.ThrowIfNegativeArgument Method

Definition

Overloads

ThrowIfNegativeArgument(TimeSpan)
ThrowIfNegativeArgument(TimeSpan, String)

ThrowIfNegativeArgument(TimeSpan)

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

Parameters

timeout
TimeSpan

Applies to

ThrowIfNegativeArgument(TimeSpan, String)

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

Parameters

timeout
TimeSpan
argumentName
String

Applies to