Condividi tramite


Metodo TeamExplorerPageHost.IServiceContainer.AddService (Type, Object, Boolean)

Spazio dei nomi:  Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Sintassi

'Dichiarazione
Private Sub AddService ( _
    serviceType As Type, _
    serviceInstance As Object, _
    promote As Boolean _
) Implements IServiceContainer.AddService
void IServiceContainer.AddService(
    Type serviceType,
    Object serviceInstance,
    bool promote
)

Parametri

Implementa

IServiceContainer.AddService(Type, Object, Boolean)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TeamExplorerPageHost Classe

Overload AddService

Spazio dei nomi Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework