Constructor ObjectNotInitializedException
ObjectNotInitializedException()
The default constructor of class ObjectNotInitializedException.
Declaration
public ObjectNotInitializedException()
ObjectNotInitializedException(String)
An overloaded constructor that takes message as parameter.
Declaration
public ObjectNotInitializedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | Exception message. |
ObjectNotInitializedException(String, Exception)
An overloaded constructor that takes exception message and nested exception as parameters.
Declaration
public ObjectNotInitializedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | Exception message. |
System. |
inner | Nested exception. |
ObjectNotInitializedException(SerializationInfo, StreamingContext)
An overloaded constructor that takes serialization info and streaming context as parameters.
Declaration
protected ObjectNotInitializedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | Stores all the data needed to serialize or deserialize an object. |
System. |
context | Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. |