G
Guest
I have a static object that gets referenced at application startup. This
object stores a dataset and various strings to be used whenever required.
This object may be called at anytime to provide the data and strings, but can
be waiting for any length of time period i.e 24hours (this is not a webapp,
but a kiosk winform). 99% of the time, the object is available and when
required provides its information. the 1% of the time, I get a null
reference exeception. Is there any method that will guarantee that the
object will be available for the lifetime of the application?
Any help will be of assistance, thank you
Richard
object stores a dataset and various strings to be used whenever required.
This object may be called at anytime to provide the data and strings, but can
be waiting for any length of time period i.e 24hours (this is not a webapp,
but a kiosk winform). 99% of the time, the object is available and when
required provides its information. the 1% of the time, I get a null
reference exeception. Is there any method that will guarantee that the
object will be available for the lifetime of the application?
Any help will be of assistance, thank you
Richard