CallSite.Create(Type, CallSiteBinder) 方法

定义

使用给定的委托类型和活页夹创建一个调用站点。

public:
 static System::Runtime::CompilerServices::CallSite ^ Create(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder);
public static System.Runtime.CompilerServices.CallSite Create (Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder);
static member Create : Type * System.Runtime.CompilerServices.CallSiteBinder -> System.Runtime.CompilerServices.CallSite
Public Shared Function Create (delegateType As Type, binder As CallSiteBinder) As CallSite

参数

delegateType
Type

调用站点的委托类型。

binder
CallSiteBinder

调用站点活页夹。

返回

新的调用站点。

适用于