CallSite<T> Class

Dynamic site type.

System.Object
  System.Runtime.CompilerServices.CallSite
    System.Runtime.CompilerServices.CallSite<T>

Namespace:  System.Runtime.CompilerServices
Assemblies:   System.Dynamic.Runtime (in System.Dynamic.Runtime.dll)
  System.Core (in System.Core.dll)

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

Type Parameters

T

The delegate type.

The CallSite<T> type exposes the following members.

  NameDescription
Public propertySupported by Portable Class LibraryBinderClass responsible for binding dynamic operations on the dynamic site. (Inherited from CallSite.)
Public propertySupported by Portable Class LibraryUpdateThe update delegate. Called when the dynamic site experiences cache miss.
Top

  NameDescription
Public methodStatic memberSupported by Portable Class LibraryCreateCreates 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 methodSupported by Portable Class LibraryEquals(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 it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Portable Class LibraryGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Portable Class LibraryToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldSupported by Portable Class LibraryTargetThe Level 0 cache - a delegate specialized based on the site history.
Top

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft