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

Exception that gets thrown if a winget feature is not supportet in the installed winget version. More...

Inheritance diagram for WGetNET.Exceptions.WinGetFeatureNotSupportedException:

Public Member Functions

 WinGetFeatureNotSupportedException (Version minVersion)
 Initializes a new instance of the WGetNET.Exceptions.WinGetFeatureNotSupportedException class.
 
 WinGetFeatureNotSupportedException (Version minVersion, Exception innerException)
 Initializes a new instance of the WGetNET.Exceptions.WinGetFeatureNotSupportedException class.
 

Protected Member Functions

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

Properties

override string Message [get]
 Gets a message that describes the current exception.
 

Detailed Description

Exception that gets thrown if a winget feature is not supportet in the installed winget version.

Definition at line 14 of file WinGetFeatureNotSupportedException.cs.

Constructor & Destructor Documentation

◆ WinGetFeatureNotSupportedException() [1/3]

WGetNET.Exceptions.WinGetFeatureNotSupportedException.WinGetFeatureNotSupportedException ( Version minVersion)

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

Parameters
minVersionMin WinGet version needed for the feature

Definition at line 39 of file WinGetFeatureNotSupportedException.cs.

◆ WinGetFeatureNotSupportedException() [2/3]

WGetNET.Exceptions.WinGetFeatureNotSupportedException.WinGetFeatureNotSupportedException ( Version minVersion,
Exception innerException )

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

Parameters
minVersionMin WinGet version needed for the feature
innerExceptionThe inner exception

Definition at line 49 of file WinGetFeatureNotSupportedException.cs.

◆ WinGetFeatureNotSupportedException() [3/3]

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

Initializes a new instance of the WGetNET.Exceptions.WinGetFeatureNotSupportedException 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 65 of file WinGetFeatureNotSupportedException.cs.

Property Documentation

◆ Message

override string WGetNET.Exceptions.WinGetFeatureNotSupportedException.Message
get

Gets a message that describes the current exception.

Definition at line 19 of file WinGetFeatureNotSupportedException.cs.