Click or drag to resize

TryCastWorkerBaseTValue, TResultElseThrow(String) Method

Throws an InvalidOperationException if none of the casts have succeeded.

Namespace: TomsToolbox.Desktop
Assembly: TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public TResult ElseThrow(
	string? message
)

Parameters

message  String
The message of the exception.

Return Value

TResult
This method never returns, but throws the exception.
Exceptions
ExceptionCondition
InvalidOperationExceptionmessage
See Also