InvokeMemberBinder.FallbackInvokeMember 方法

定义

如果无法绑定目标动态对象,则执行动态调用成员操作的绑定。

重载

FallbackInvokeMember(DynamicMetaObject, DynamicMetaObject[])

如果无法绑定目标动态对象,则执行动态调用成员操作的绑定。

FallbackInvokeMember(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

在派生类中重写时,如果无法绑定目标动态对象,则执行动态调用成员操作的绑定。

FallbackInvokeMember(DynamicMetaObject, DynamicMetaObject[])

Source:
InvokeMemberBinder.cs
Source:
InvokeMemberBinder.cs
Source:
InvokeMemberBinder.cs

如果无法绑定目标动态对象,则执行动态调用成员操作的绑定。

public:
 System::Dynamic::DynamicMetaObject ^ FallbackInvokeMember(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ args);
public System.Dynamic.DynamicMetaObject FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args);
member this.FallbackInvokeMember : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] -> System.Dynamic.DynamicMetaObject
Public Function FallbackInvokeMember (target As DynamicMetaObject, args As DynamicMetaObject()) As DynamicMetaObject

参数

target
DynamicMetaObject

动态调用成员操作的目标。

args
DynamicMetaObject[]

动态调用成员操作的参数。

返回

表示绑定结果的 DynamicMetaObject

适用于

FallbackInvokeMember(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

Source:
InvokeMemberBinder.cs
Source:
InvokeMemberBinder.cs
Source:
InvokeMemberBinder.cs

在派生类中重写时,如果无法绑定目标动态对象,则执行动态调用成员操作的绑定。

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

参数

target
DynamicMetaObject

动态调用成员操作的目标。

args
DynamicMetaObject[]

动态调用成员操作的参数。

errorSuggestion
DynamicMetaObject

如果绑定失败,则为要使用的绑定结果;否则为 null。

返回

表示绑定结果的 DynamicMetaObject

适用于