다음을 통해 공유


CallSiteBinder.BindDelegate<T> Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Overridable Function BindDelegate(Of T As Class) ( _
    site As CallSite(Of T), _
    args As Object() _
) As T
public virtual T BindDelegate<T>(
    CallSite<T> site,
    Object[] args
)
where T : class

Type Parameters

  • T
    The target type of the CallSite.

Parameters

Return Value

Type: T
A new delegate which replaces the CallSite Target.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.