語言

CallSite<T>.Create(CallSiteBinder) 方法

定義

建立動態呼叫站點的實例,初始化為負責執行時動態操作綁定的綁定器。

public:
 static System::Runtime::CompilerServices::CallSite<T> ^ Create(System::Runtime::CompilerServices::CallSiteBinder ^ binder);
public static System.Runtime.CompilerServices.CallSite<T> Create(System.Runtime.CompilerServices.CallSiteBinder binder);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating arrays at runtime requires dynamic code generation.")]
public static System.Runtime.CompilerServices.CallSite<T> Create(System.Runtime.CompilerServices.CallSiteBinder binder);
static member Create : System.Runtime.CompilerServices.CallSiteBinder -> System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)>
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating arrays at runtime requires dynamic code generation.")>]
static member Create : System.Runtime.CompilerServices.CallSiteBinder -> System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)>
Public Shared Function Create (binder As CallSiteBinder) As CallSite(Of T)

參數

binder
CallSiteBinder

負責此呼叫站點動態操作執行時綁定的綁定器。

傳回

動態呼叫網站的新實例。

屬性

適用於