Edit

Share via


CallSite<T>.Create(CallSiteBinder) Method

Definition

Creates an instance of the dynamic call site, initialized with the binder responsible for the runtime binding of the dynamic operations at this call site.

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)

Parameters

binder
CallSiteBinder

The binder responsible for the runtime binding of the dynamic operations at this call site.

Returns

The new instance of dynamic call site.

Attributes

Applies to