Share via


TimeoutHelper.ThrowIfNegativeArgument Metodo

Definizione

Overload

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)

Parametri

timeout
TimeSpan

Si applica a

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)

Parametri

timeout
TimeSpan
argumentName
String

Si applica a