OrleansGeneratedCodeHelper.GetMethodInfoOrDefault 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 MethodInfo 与所提供的值匹配的 。
public static System.Reflection.MethodInfo GetMethodInfoOrDefault(Type interfaceType, string methodName, Type[] methodTypeParameters, Type[] parameterTypes);
static member GetMethodInfoOrDefault : Type * string * Type[] * Type[] -> System.Reflection.MethodInfo
Public Function GetMethodInfoOrDefault (interfaceType As Type, methodName As String, methodTypeParameters As Type(), parameterTypes As Type()) As MethodInfo
参数
- interfaceType
- Type
接口的类型。
- methodName
- String
方法的名称。
- methodTypeParameters
- Type[]
方法类型参数。
- parameterTypes
- Type[]
参数类型。
返回
相应的 MethodInfo。