CallResult.AsTuple Method

Tungsten Suite

CallResultAsTuple Method

Creates a Tuple from the properties

Namespace:  W
Assembly:  Tungsten.CallResult (in Tungsten.CallResult.dll) Version: 2.0.0
Syntax
C#
public Tuple<bool, Exception> AsTuple()

Return Value

Type: TupleBoolean, Exception
A Tuple contining the property values
Remarks
This is essentially a hard-coded Tuple; reflection is not used to obtain the properties. As a result, properties of child classes will not be in the returned Tuple.
See Also