Skip to content

OrleansGeneratedCodeHelper.ThrowUnsupportedUnionValue(object)

ThrowUnsupportedUnionValue(object)

static
View source
public static void ThrowUnsupportedUnionValue<TField>(object value)
Throws an exception indicating that a value is not an instance of any case of a union type or closed type hierarchy.

Parameters

valueobject
The value.