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.String | 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.String | message | Exception message. |
System.Exception | 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.Runtime.Serialization.SerializationInfo | info | Stores all the data needed to serialize or deserialize an object. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. |