Assembly: PresentationFramework (in PresentationFramework.dll)
- Type: System.IServiceProvider
Object that can provide services for the markup extension.
Return ValueType: System.Object
The object value to set on the property where the markup extension provided value is evaluated.
serviceProvider was null, or failed to implement a required service.
This method supports WPF XAML processor implementation, and is not intended to be called directly. The XAML processor implementation uses this method for proper handling of StaticResource extension values during object creation.
This implementation relies on XAML-related services based on the passed serviceProvider. It must not be null. In the .NET Framework 4 implementation, the following are required services from service context:
If any of these services are missing, usage of the markup extension throws an exception.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.