Adds the specified service to the service container.
public void AddService(
Public Sub AddService(
serviceType As Type,
serviceInstance As Object
The type of service to add.
An instance of the service type to add. This object must implement or inherit from the type indicated by the serviceType parameter.
The SchedulerControl implements IServiceProvider and IServiceContainer interfaces. In addition to providing services, it also provides a mechanism for adding and removing services. To obtain a service, call the ASPxScheduler.GetService method.