Windows apps
Collapse the table of content
Expand the table of content
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.

CallSite<T> Class

Dynamic site type.


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

public class CallSite<T> : CallSite
where T : class

Type Parameters


The delegate type.

The CallSite<T> type exposes the following members.

Public propertyBinderClass responsible for binding dynamic operations on the dynamic site. (Inherited from CallSite.)
Public propertyUpdateThe update delegate. Called when the dynamic site experiences cache miss.

Public methodStatic memberCreateCreates an instance of the dynamic call site, initialized with the binder responsible for the runtime binding of the dynamic operations at this call site.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldTargetThe Level 0 cache - a delegate specialized based on the site history.


Supported in: 5, 4

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2017 Microsoft