IServiceProvider Interface
TOC
Collapse the table of content
Expand the table of content

IServiceProvider Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

No code example is currently available or this language may not be supported.

The IServiceProvider type exposes the following members.

  NameDescription
Public methodGetServiceGets the service object of the specified type.
Top

This interface is implemented by a class or value type that provides a service to other objects.

The GetService method of this interface obtains the object that provides the service.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft