Partager via


TimeoutHelper.ThrowIfNegativeArgument Méthode

Définition

Surcharges

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)

Paramètres

timeout
TimeSpan

S’applique à

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)

Paramètres

timeout
TimeSpan
argumentName
String

S’applique à