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

Привязка, отвечающая за привязку среды выполнения динамических операций на этом сайте вызова.

Возвращаемое значение

Новый экземпляр динамического сайта вызова.

Атрибуты

Применяется к