Script '%1' returns a '%2' object, but only return types of 'System.Void' and 'System.String' are supported

Error code -10173
Error constant EL_DNET_INVALID_RETURN_TYPE
Parameter 1 The method name.
Parameter 2 The returned object type.
 Probable cause
 More information