PropertyInvalidExceptionValidateNonNegative Method (Int32, String) |
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static void ValidateNonNegative(
int value,
string propertyName
)
Public Shared Sub ValidateNonNegative (
value As Integer,
propertyName As String
)
public:
static void ValidateNonNegative(
int value,
String^ propertyName
)
static member ValidateNonNegative :
value : int *
propertyName : string -> unit
Parameters
- value
- Type: SystemInt32
The property value. - propertyName
- Type: SystemString
The name of the property.
Exceptions See Also