次の方法で共有


TimeoutHelper.ThrowIfNegativeArgument メソッド

定義

オーバーロード

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)

パラメーター

timeout
TimeSpan

適用対象

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)

パラメーター

timeout
TimeSpan
argumentName
String

適用対象