Share via


ServiceConstructor<TService>.ConstructServiceImplementation Method

Called by the ConstructService method to return a new instance of the specified TService Type.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

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

Return Value

Type: TService
An instance of the specified type.

Remarks

Notes to Inheritors

If you have added custom properties to a derived class, this method must apply those property values to the created instance before it returns the created instance to the caller.

.NET Framework Security

See Also

Reference

ServiceConstructor<TService> Class

Microsoft.Data.Schema Namespace

ConstructService