Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IServiceProvider Interface

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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360GetServiceGets 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.