DefaultServices.ReplaceSingle Method (Type, Object)

 

Replaces a single-instance service object.

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

Protected Overrides Sub ReplaceSingle (
	serviceType As Type,
	service As Object
)

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service object that replaces the previous instance.

Return to top
Show: