Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a service to the end of services list for the given service type.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub Add ( _
serviceType As Type, _
service As Object _
)
'Usage
Dim instance As ServicesContainer
Dim serviceType As Type
Dim service As Object
instance.Add(serviceType, service)
public void Add(
Type serviceType,
Object service
)
public:
void Add(
Type^ serviceType,
Object^ service
)
member Add :
serviceType:Type *
service:Object -> unit
public function Add(
serviceType : Type,
service : Object
)
Parameters
serviceType
Type: System.TypeThe service type.
service
Type: System.ObjectThe service instance.