InvokeMemberBinder.FallbackInvoke Method

Definition

When overridden in the derived class, performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.

public:
 abstract System::Dynamic::DynamicMetaObject ^ FallbackInvoke(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ args, System::Dynamic::DynamicMetaObject ^ errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackInvoke (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackInvoke (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackInvoke : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackInvoke (target As DynamicMetaObject, args As DynamicMetaObject(), errorSuggestion As DynamicMetaObject) As DynamicMetaObject

Parameters

target
DynamicMetaObject

The target of the dynamic invoke operation.

args
DynamicMetaObject[]

The arguments of the dynamic invoke operation.

errorSuggestion
DynamicMetaObject

The binding result to use if binding fails, or null.

Returns

The DynamicMetaObject representing the result of the binding.

Remarks

This method is called by the target when the target implements the invoke member operation as a sequence of get member, and invoke, to let the DynamicMetaObject request the binding of the invoke operation only.

Applies to