Readdy Write
async ; await ;

Fehler: Cannot implicitly convert type System.Threading.Tasks.Task to long

20.08.2018 (👁2708)

Fehler: Cannot implicitly convert type 'System.Threading.Tasks.Task<long>' to 'long'

 

 

Falsch:

long ID = clsDB.Get_ID_by_RefNr_OnServer(ID_on_Server);

 

Gelöst:

long ID = await clsDB.Get_ID_by_RefNr_OnServer(ID_on_Server);

 

 


0,00 €