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:
virtual void ReplaceSingle(
	Type^ serviceType,
	Object^ service
) override

Parameters

serviceType
Type: System::Type^

The service type.

service
Type: System::Object^

The service object that replaces the previous instance.

Return to top
Show: