Method ThrowIfDeviceInvalid
ThrowIfDeviceInvalid(SsdpDevice)
Validates the specified device and throws an System.InvalidOperationException if there are any validation errors.
Declaration
public void ThrowIfDeviceInvalid(SsdpDevice device)
Parameters
Type | Name | Description |
---|---|---|
SsdpDevice | device | The SsdpDevice to validate. |
Implements
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if the |
System.InvalidOperationException | Thrown if the device object does not pass validation. |