Aracılığıyla paylaş


CallSite.Create Method

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

Creates a call site with the given delegate type and binder.

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

Syntax

'Declaration
Public Shared Function Create ( _
    delegateType As Type, _
    binder As CallSiteBinder _
) As CallSite
public static CallSite Create(
    Type delegateType,
    CallSiteBinder binder
)

Parameters

  • delegateType
    Type: System.Type
    The call site delegate type.

Return Value

Type: System.Runtime.CompilerServices.CallSite
The new call site.

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.