Constructor SsdpDevice
SsdpDevice()
Derived type constructor, allows constructing a device with no parent. Should only be used from derived types that are or inherit from SsdpRootDevice.
Declaration
protected SsdpDevice()
SsdpDevice(String)
Deserialisation constructor.
Declaration
protected SsdpDevice(string deviceDescriptionXml)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | deviceDescriptionXml | A UPnP device description XML document. |
Remarks
Uses the provided XML string and parent device properties to set the properties of the object. The XML provided must be a valid UPnP device description document.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if the |
| System.ArgumentException | Thrown if the |