WGet.NET 4.4.1
A WinGet wrapper library for .Net.
Loading...
Searching...
No Matches
WGetNET.Exceptions.WinGetNotInstalledException Class Reference

Exception that gets thrown if winget is not installed. More...

Inheritance diagram for WGetNET.Exceptions.WinGetNotInstalledException:

Public Member Functions

 WinGetNotInstalledException ()
 Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.
 
 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.
 

Protected Member Functions

 WinGetNotInstalledException (SerializationInfo info, StreamingContext context)
 Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class with serialized data.
 

Properties

override string Message = "WinGet is not installed on this system or could not be found." [get]
 Gets a message that describes the current exception.
 

Detailed Description

Exception that gets thrown if winget is not installed.

Definition at line 14 of file WinGetNotInstalledException.cs.

Constructor & Destructor Documentation

◆ WinGetNotInstalledException() [1/4]

WGetNET.Exceptions.WinGetNotInstalledException.WinGetNotInstalledException ( )

Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.

Definition at line 24 of file WinGetNotInstalledException.cs.

◆ WinGetNotInstalledException() [2/4]

WGetNET.Exceptions.WinGetNotInstalledException.WinGetNotInstalledException ( string message)

Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.

Parameters
messageMessage of the exception

Definition at line 32 of file WinGetNotInstalledException.cs.

◆ WinGetNotInstalledException() [3/4]

WGetNET.Exceptions.WinGetNotInstalledException.WinGetNotInstalledException ( string message,
Exception innerException )

Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class.

Parameters
messageMessage of the exception
innerExceptionThe inner exception

Definition at line 42 of file WinGetNotInstalledException.cs.

◆ WinGetNotInstalledException() [4/4]

WGetNET.Exceptions.WinGetNotInstalledException.WinGetNotInstalledException ( SerializationInfo info,
StreamingContext context )
protected

Initializes a new instance of the WGetNET.Exceptions.WinGetNotInstalledException class with serialized data.

Parameters
infoThe System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
contextThe System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

Definition at line 58 of file WinGetNotInstalledException.cs.

Property Documentation

◆ Message

override string WGetNET.Exceptions.WinGetNotInstalledException.Message = "WinGet is not installed on this system or could not be found."
get

Gets a message that describes the current exception.

Definition at line 19 of file WinGetNotInstalledException.cs.