ItemNotFoundException Constructor

Initializes a new instance of the ItemNotFoundException class. The variants of this constructor can create an empty object, an object that contains an exception message, and more.

NameDescription
ItemNotFoundException ()Initializes a new instance of the ItemNotFoundException class that is empty.
ItemNotFoundException (SerializationInfo, StreamingContext)Initializes a new instance of the ItemNotFoundException class that contains information read from the provided serialization information.
ItemNotFoundException (String)Initializes a new instance of the ItemNotFoundException class that contains an exception message.
ItemNotFoundException (String, Exception)Initializes a new instance of the ItemNotFoundException class that contains an exception message and the inner exception that caused this exception to be thrown.


Show:
© 2015 Microsoft