IClientRequestParametersProvider.GetClientParameters 方法

定义

获取具有客户端 IDclientId 的客户端的参数值。

public:
 System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ GetClientParameters(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ clientId);
public System.Collections.Generic.IDictionary<string,string> GetClientParameters (Microsoft.AspNetCore.Http.HttpContext context, string clientId);
abstract member GetClientParameters : Microsoft.AspNetCore.Http.HttpContext * string -> System.Collections.Generic.IDictionary<string, string>
Public Function GetClientParameters (context As HttpContext, clientId As String) As IDictionary(Of String, String)

参数

context
HttpContext

当前的 HttpContext

clientId
String

客户端的客户端 ID。

返回

包含 IDictionary<TKey,TValue> 客户端参数及其值的 。

适用于