CallSiteBinder.BindDelegate<T> Method (CallSite<T>, Object[])


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides low-level runtime binding support. Classes can override this and provide a direct delegate for the implementation of rule. This can enable saving rules to disk, having specialized rules available at runtime, or providing a different caching policy.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

public virtual T BindDelegate<T>(
	CallSite<T> site,
	object[] args
where T : class


Type: System.Runtime.CompilerServices.CallSite<T>

The CallSite the bind is being performed for.

Type: System.Object[]

The arguments for the binder.

Return Value

Type: T

A new delegate which replaces the CallSite Target.

Type Parameters


The target type of the CallSite.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top