i want use data property store information want throw in new exception , i've figured out how can loop through each of dictionaryentries snippet
foreach (dictionaryentry de in ex.data)
but i'd prefer value key name because have different object types in data object. easier cast them right kind of object if can value key name.
anyone know how exception.data dictionary entries key name?
if know key more efficient use dictionary for:
var yourobj = ex.data["your_key"];
Comments
Post a Comment