JsonRpc.GetJsonRpcMethodAttribute メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
以前に検出された RPC メソッドの JsonRpcMethodAttribute を取得します (存在する場合)。
public StreamJsonRpc.JsonRpcMethodAttribute? GetJsonRpcMethodAttribute(string methodName, ReadOnlySpan<System.Reflection.ParameterInfo> parameters);
member this.GetJsonRpcMethodAttribute : string * ReadOnlySpan<System.Reflection.ParameterInfo> -> StreamJsonRpc.JsonRpcMethodAttribute
Public Function GetJsonRpcMethodAttribute (methodName As String, parameters As ReadOnlySpan(Of ParameterInfo)) As JsonRpcMethodAttribute
パラメーター
- methodName
- String
属性が検索されるメソッドの名前。
- parameters
- ReadOnlySpan<ParameterInfo>
TryGetTypedArguments(ReadOnlySpan<ParameterInfo>, Span<Object>)に渡される可能性があるため、メソッドで見つかったパラメーターの一覧。 この一覧では、末尾の CancellationTokenなど、いくつかの特別なパラメーターが省略される場合があることに注意してください。