|
WGet.NET 4.4.1
A WinGet wrapper library for .Net.
|
Exception that gets thrown if the provided json string could not be deserialized. More...
Public Member Functions | |
| InvalidJsonException () | |
| Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class. | |
| InvalidJsonException (string message) | |
| Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class. | |
| InvalidJsonException (Exception innerException) | |
| Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class. | |
| InvalidJsonException (string message, Exception innerException) | |
| Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class. | |
Protected Member Functions | |
| InvalidJsonException (SerializationInfo info, StreamingContext context) | |
| Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class with serialized data. | |
Properties | |
| override string | Message = "The provided JSON could not be deserialized." [get] |
| Gets a message that describes the current exception. | |
Exception that gets thrown if the provided json string could not be deserialized.
Definition at line 14 of file InvalidJsonException.cs.
| WGetNET.Exceptions.InvalidJsonException.InvalidJsonException | ( | ) |
Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class.
Definition at line 24 of file InvalidJsonException.cs.
| WGetNET.Exceptions.InvalidJsonException.InvalidJsonException | ( | string | message | ) |
Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class.
| message | Message of the exception |
Definition at line 32 of file InvalidJsonException.cs.
| WGetNET.Exceptions.InvalidJsonException.InvalidJsonException | ( | Exception | innerException | ) |
Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class.
| innerException | The inner exception |
Definition at line 41 of file InvalidJsonException.cs.
| WGetNET.Exceptions.InvalidJsonException.InvalidJsonException | ( | string | message, |
| Exception | innerException ) |
Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class.
| message | Message of the exception |
| innerException | The inner exception |
Definition at line 50 of file InvalidJsonException.cs.
|
protected |
Initializes a new instance of the WGetNET.Exceptions.InvalidJsonException class with serialized data.
| info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
| context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Definition at line 66 of file InvalidJsonException.cs.
|
get |
Gets a message that describes the current exception.
Definition at line 19 of file InvalidJsonException.cs.