6using System.Runtime.Serialization;
19 public override string Message {
get; } =
"WinGet is not installed on this system or could not be found.";
Exception that gets thrown if winget is not installed.
WinGetNotInstalledException(string message)
Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.
WinGetNotInstalledException(string message, Exception innerException)
Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.
WinGetNotInstalledException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class with serialize...
WinGetNotInstalledException()
Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.
override string Message
Gets a message that describes the current exception.