BindDelegate(T) Method
Collapse the table of content
Expand the table of content

CallSiteBinder.BindDelegate(Of 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)

'Declaration
Public Overridable Function BindDelegate(Of T As Class) ( _
	site As CallSite(Of T), _
	args As Object() _
) As T

Type Parameters

T

The target type of the CallSite.

Parameters

site
Type: System.Runtime.CompilerServices.CallSite(Of T)
The CallSite the bind is being performed for.
args
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

Show:
© 2017 Microsoft