Bewerken

Share via


CallSite.Create(Type, CallSiteBinder) Method

Definition

Creates a call site with the given delegate type and binder.

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

Parameters

delegateType
Type

The call site delegate type.

binder
CallSiteBinder

The call site binder.

Returns

The new call site.

Applies to