CallSiteOps.CreateMatchmaker<T>(CallSite<T>) 方法

定义

注意

do not use this method

创建用于缓存查找的动态调用站点的实例。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
generic <typename T>
 where T : class static System::Runtime::CompilerServices::CallSite<T> ^ CreateMatchmaker(System::Runtime::CompilerServices::CallSite<T> ^ site);
[System.Obsolete("do not use this method", true)]
public static System.Runtime.CompilerServices.CallSite<T> CreateMatchmaker<T> (System.Runtime.CompilerServices.CallSite<T> site) where T : class;
[<System.Obsolete("do not use this method", true)>]
static member CreateMatchmaker : System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> -> System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> (requires 'T : null)
Public Shared Function CreateMatchmaker(Of T As Class) (site As CallSite(Of T)) As CallSite(Of T)

类型参数

T

CallSite 的委托的类型。

参数

site
CallSite<T>

动态调用站点的实例。

返回

新的调用站点。

属性

适用于