Windows Dev Center

CommandNotFoundException Constructor

Creates a new CommandNotFoundException object. The variants of this constructor can be used to create an empty object, an object that contains an exception message, and more.

NameDescription
CommandNotFoundException ()Creates a new CommandNotFoundException object that is empty.
CommandNotFoundException (SerializationInfo, StreamingContext)Creates a new CommandNotFoundException object that contains information that is read from the provided serialization information.
CommandNotFoundException (String)Creates a new CommandNotFoundException object that contains an exception message.
CommandNotFoundException (String, Exception)Creates a new CommandNotFoundException object that contains an exception message and the inner exception that caused this exception to be thrown.


Show:
© 2015 Microsoft