Method GetValidationErrors
GetValidationErrors(SsdpRootDevice)
Returns an enumerable set of strings, each one being a description of an invalid property on the specified root device.
Declaration
public IEnumerable<string> GetValidationErrors(SsdpRootDevice device)
Parameters
Type | Name | Description |
---|---|---|
SsdpRootDevice | device | The SsdpRootDevice to validate. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | A non-null enumerable set of strings, empty if there are no validation errors, otherwise each string represents a discrete problem. |
Implements
Remarks
If no errors are found, an empty (but non-null) enumerable is returned.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if the |
GetValidationErrors(SsdpDevice)
Returns an enumerable set of strings, each one being a description of an invalid property on the specified device.
Declaration
public IEnumerable<string> GetValidationErrors(SsdpDevice device)
Parameters
Type | Name | Description |
---|---|---|
SsdpDevice | device | The SsdpDevice to validate. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | A non-null enumerable set of strings, empty if there are no validation errors, otherwise each string represents a discrete problem. |
Implements
Remarks
If no errors are found, an empty (but non-null) enumerable is returned.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if the |