PropertyInvalidExceptionValidateGreaterThanZero Method (Int32, String, String) |
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static void ValidateGreaterThanZero(
int value,
string propertyName,
string exceptionMessage
)
Public Shared Sub ValidateGreaterThanZero (
value As Integer,
propertyName As String,
exceptionMessage As String
)
public:
static void ValidateGreaterThanZero(
int value,
String^ propertyName,
String^ exceptionMessage
)
static member ValidateGreaterThanZero :
value : int *
propertyName : string *
exceptionMessage : string -> unit
Parameters
- value
- Type: SystemInt32
The property value. - propertyName
- Type: SystemString
The name of the property. - exceptionMessage
- Type: SystemString
The message to use when throwing the exception.
Exceptions See Also