Constructor NotInitializedException
NotInitializedException(string)
Creates a new instance of the exception indicating that the class
memberName cannot be used until owner is initialized.
public NotInitializedException(string memberName)
Parameters
memberNamestringProperty or method name
NotInitializedException(string, Exception)
Creates a new instance of the exception with the full message/inner exception.
public NotInitializedException(string msg, Exception innerException)