This documentation is archived and is not being maintained.

CallSiteBinder.BindDelegate<T> Method

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 Parameters


The target type of the CallSite.


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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.