Click or drag to resize
PreconditionsCheckArgument Method (Boolean, String)
Throws ArgumentException with given message if condition is false.

Namespace: Grpc.Core.Utils
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public static void CheckArgument(
	bool condition,
	string errorMessage
)

Parameters

condition
Type: SystemBoolean
The condition.
errorMessage
Type: SystemString
The error message.
See Also