Share via


ServiceConstructor<TService>.ConstructServiceImplementation, méthode

Appelée par laConstructService méthode pour retourner une nouvelle instanceTServiceType du spécifié.

Espace de noms :  Microsoft.Data.Schema
Assembly :  Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)

Syntaxe

'Déclaration
Protected MustOverride Function ConstructServiceImplementation As TService
protected abstract TService ConstructServiceImplementation()
protected:
virtual TService ConstructServiceImplementation() abstract
abstract ConstructServiceImplementation : unit -> 'TService 
protected abstract function ConstructServiceImplementation() : TService

Valeur de retour

Type : TService
Instance du type spécifié.

Notes

Remarques à l'attention des héritiers

Si vous avez ajouté des propriétés personnalisées à une classe dérivée, cette méthode doit appliquer ces valeurs de propriété à l'instance créée avant de retourner l'instance créée à l'appelant.

Sécurité .NET Framework

Voir aussi

Référence

ServiceConstructor<TService> Classe

Microsoft.Data.Schema, espace de noms

ConstructService