ThrowIfNoValidDelegate Method
Definition
ThrowIfNoValidDelegate(bool)
Validates and throws an InvalidOperationException if this instance has no valid delegate.
protected void ThrowIfNoValidDelegate(bool delegateIsNull)
Parameters
delegateIsNullboolThe value of a condition that can be either
trueorfalse.
Exceptions
- InvalidOperationException
No delegate was specified on the factory.