Method AddService
AddService(SsdpService)
Adds a service to the Services collection.
Declaration
public void AddService(SsdpService service)
Parameters
| Type | Name | Description |
|---|---|---|
| SsdpService | service | The SsdpService instance to add. |
Remarks
If the service is already a member of the Services collection, this method does nothing.
Services should be added to the device before it is added to a publisher.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if the |