Hello,
I’m using Portable class library (WinInetHttpClientChannel) with Xamarin Android and can’t find the way to catch exception “server is not accessible”:
this.fClientChannel.OnException += (object sender, RequestExceptionEventArgs e) => {
//never fired when server is not accessible
};
...
public Task<List<table_xy>> GetData() {
return DataAdapter.LoadListAsync<table_xy>(DataAdapter.GetTable<table_xy>());
}
...
try {
var tmp = await GetData();
}
catch {
//never fired when server is not accessible
}
RODA.NET 8.1.85.1143, Latest Xamarin
Thanks,
Dejan