Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DefaultServices.IsSingleService Method (Type)

 

Queries whether a service type is single-instance.

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

override IsSingleService : 
        serviceType:Type -> bool

Parameters

serviceType
Type: System.Type

The service type.

Return Value

Type: System.Boolean

true if the service type has at most one instance, or false if the service type supports multiple instances.

Return to top
Show:
© 2015 Microsoft