Click or drag to resize
PreconditionsCheckState Method (Boolean, String)
Throws InvalidOperationException 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 CheckState(
	bool condition,
	string errorMessage
)

Parameters

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