Partager via


PageContentAdorner.ServiceProvider Property

 

Gets or sets the service provider.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public IServiceProvider ServiceProvider { get; set; }
public:
property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get();
    void set(IServiceProvider^ value);
}
Public Property ServiceProvider As IServiceProvider

Property Value

Type: System.IServiceProvider

An instance of IServiceProvider.

Exceptions

Exception Condition
InvalidOperationException

The service provider is set more than once.

ArgumentNullException

The value set is null.

See Also

PageContentAdorner Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top