Skip to content

OrleansGeneratedCodeHelper.ThrowUnknownUnionCase(uint)

ThrowUnknownUnionCase(uint)

static
View source
public static TField ThrowUnknownUnionCase<TField>(uint caseId)
Throws an exception indicating that a serialized tagged-union value has an unknown case identifier.

Parameters

caseIduint
The case identifier which was read.

Returns

This method does not return.