Constructor SsdpRootDevice
SsdpRootDevice()
Default constructor.
Declaration
public SsdpRootDevice()
SsdpRootDevice(Uri, TimeSpan, String)
Deserialisation constructor.
Declaration
public SsdpRootDevice(Uri location, TimeSpan cacheLifetime, string deviceDescriptionXml)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | location | The url from which the device description document was retrieved. |
| System.TimeSpan | cacheLifetime | A System.TimeSpan representing the time maximum period of time the device description can be cached for. |
| System.String | deviceDescriptionXml | The device description XML as a string. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if the |
| System.ArgumentException | Thrown if the |