共用方式為


IClientRequestParametersProvider.GetClientParameters 方法

定義

取得具有用戶端識別碼 clientId 之用戶端的參數值。

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

用戶端的用戶端識別碼。

傳回

IDictionary<TKey,TValue> 包含用戶端參數及其值。

適用於