This topic has not yet been rated - Rate this topic

IServiceProvider Interface

April 12, 2014

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)
public interface IServiceProvider

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.