The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CallSiteBinder.BindDelegate<T> Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0