Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
UPnPException.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4
6{
10 public class UPnPException : Exception
11 {
12 private readonly string faultCode;
13 private readonly string faultString;
14 private readonly string upnpErrorCode;
15 private readonly string upnpErrorDescription;
16
17 internal UPnPException(string FaultCode, string FaultString, string UPnPErrorCode, string UPnPErrorDescription)
18 : base(string.IsNullOrEmpty(UPnPErrorDescription) ? FaultString : UPnPErrorDescription)
19 {
20 this.faultCode = FaultCode;
21 this.faultString = FaultString;
22 this.upnpErrorCode = UPnPErrorCode;
23 this.upnpErrorDescription = UPnPErrorDescription;
24 }
25
29 public string FaultCode => this.faultCode;
30
34 public string FaultString => this.faultString;
35
39 public string UPnPErrorCode => this.upnpErrorCode;
40
44 public string UPnPErrorDescription => this.upnpErrorDescription;
45 }
46}
string UPnPErrorDescription
UPnP Error Description
string UPnPErrorCode
UPnP Error Code
string FaultCode
SOAP Fault Code
string FaultString
SOAP Fault String