Export (0) Print
Expand All

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.

Community Additions

ADD
Show:
© 2014 Microsoft