Export (0) Print
Expand All

DefaultServices.ReplaceSingle Method

Replaces a single-instance service object.

Namespace:  System.Web.Http.Services
Assembly:  System.Web.Http (in System.Web.Http.dll)

'Declaration
Protected Overrides Sub ReplaceSingle ( _
	serviceType As Type, _
	service As Object _
)
'Usage
Dim serviceType As Type 
Dim service As Object 

Me.ReplaceSingle(serviceType, service)

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service object that replaces the previous instance.

Show:
© 2014 Microsoft