Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Event Viewer Keywords null value
Message
De
10/01/2017 12:00:16
 
 
À
10/01/2017 08:31:45
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01646401
Message ID:
01646468
Vues:
24
>>Seems EventLogRecord.Keywords is nullable https://msdn.microsoft.com/en-us/library/system.diagnostics.eventing.reader.eventlogrecord.keywords(v=vs.110).aspx
>
>Yes, it does. The problem is how to detect when it is null so I can bypass and put 0 in my table field. Is Nothing and .HasValue cannot detect it.

Strange - but you've got a work- around with the try/catch
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform