Share via


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

적용 대상