ServiceConstructor<TService>.ConstructService 方法
由 DatabaseSchemaProvider 调用以创建指定 TService 类型的实例。
命名空间: Microsoft.Data.Schema
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function ConstructService As TService
public TService ConstructService()
public:
TService ConstructService()
member ConstructService : unit -> 'TService
public function ConstructService() : TService
返回值
类型:TService
指定类型的实例。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。