Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Func`12

Assembly: System.Runtime

Inheritance: object → delegate → MulticastDelegate → Func`12

Encapsulates a method that has 11 parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.

Properties

public bool
HasSingleTarget
Gets a value that indicates whether the <see cref="T:System.Delegate" /> has a single invocation target.
public MethodInfo
Method
Gets the method represented by the delegate.
public object
Target
Gets the class instance on which the current delegate invokes the instance method.

Methods

public TResult
Invoke​(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11)
public IAsyncResult
BeginInvoke​(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, AsyncCallback callback, object object)
public TResult
EndInvoke​(IAsyncResult result)
protected delegate
CombineImpl​(delegate follow)
Inherited from MulticastDelegate
follow The delegate to combine with this delegate.
Returns A delegate that is the new root of the <see cref="T:System.MulticastDelegate" /> invocation list.
Combines this <see cref="T:System.Delegate" /> with the specified <see cref="T:System.Delegate" /> to form a new delegate.
public bool
Equals​(object obj)
Inherited from MulticastDelegate
obj The object to compare with this instance.
Returns <see langword="true" /> if <paramref name="obj" /> and this instance have the same invocation lists; otherwise, <see langword="false" /> .
Determines whether this multicast delegate and the specified object are equal.
public int
GetHashCode​()
Inherited from MulticastDelegate
Returns A 32-bit signed integer hash code.
Returns the hash code for this instance.
public delegate[]
GetInvocationList​()
Inherited from MulticastDelegate
Returns An array of delegates whose invocation lists collectively match the invocation list of this instance.
Returns the invocation list of this multicast delegate, in invocation order.
protected MethodInfo
GetMethodImpl​()
Inherited from MulticastDelegate
Returns A method represented by the current <see cref="T:System.MulticastDelegate" /> .
Returns a method represented by the current <see cref="T:System.MulticastDelegate" /> .
public void
GetObjectData​(SerializationInfo info, StreamingContext context)
Inherited from MulticastDelegate
info An object that holds all the data needed to serialize or deserialize this instance.
context (Reserved) The location where serialized data is stored and retrieved.
Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with all the data needed to serialize this instance.
protected delegate
RemoveImpl​(delegate value)
Inherited from MulticastDelegate
value The delegate to search for in the invocation list.
Returns If <paramref name="value" /> is found in the invocation list for this instance, then a new <see cref="T:System.Delegate" /> without <paramref name="value" /> in its invocation list; otherwise, this instance with its original invocation list.
Removes an element from the invocation list of this <see cref="T:System.MulticastDelegate" /> that is equal to the specified delegate.
public object
Clone​()
Inherited from delegate
Returns A shallow copy of the delegate.
Creates a shallow copy of the delegate.
public object
DynamicInvoke​(object[] args)
Inherited from delegate
args An array of objects that are the arguments to pass to the method represented by the current delegate. -or- <see langword="null" /> , if the method represented by the current delegate does not require arguments.
Returns The object returned by the method represented by the delegate.
Dynamically invokes (late-bound) the method represented by the current delegate.
protected object
DynamicInvokeImpl​(object[] args)
Inherited from delegate
args An array of objects that are the arguments to pass to the method represented by the current delegate. -or- <see langword="null" /> , if the method represented by the current delegate does not require arguments.
Returns The object returned by the method represented by the delegate.
Dynamically invokes (late-bound) the method represented by the current delegate.
protected void
Finalize​()
Inherited from object
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
public Type
GetType​()
Inherited from object
Returns The exact runtime type of the current instance.
Gets the <see cref="T:System.Type" /> of the current instance.
protected object
MemberwiseClone​()
Inherited from object
Returns A shallow copy of the current <see cref="T:System.Object" /> .
Creates a shallow copy of the current <see cref="T:System.Object" /> .
public string
ToString​()
Inherited from object
Returns A string that represents the current object.
Returns a string that represents the current object.