Share via


TimeoutHelper.ThrowIfNonPositiveArgument 메서드

정의

오버로드

ThrowIfNonPositiveArgument(TimeSpan)
ThrowIfNonPositiveArgument(TimeSpan, String)

ThrowIfNonPositiveArgument(TimeSpan)

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

매개 변수

timeout
TimeSpan

적용 대상

ThrowIfNonPositiveArgument(TimeSpan, String)

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

매개 변수

timeout
TimeSpan
argumentName
String

적용 대상