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 。