Gets a value which describes the last error that has occurred.
A string which describes the last error that has occurred.
The LastErrorString property can be used to obtain a description of the last error that occurred for the current instance of the class. It is important to note that this value only has meaning if the previous method indicates that an error has actually occurred.