語言

AbstractApplicationBuilder<T>.WithExtraQueryParameters 方法

定義

多載

名稱 Description
WithExtraQueryParameters(IDictionary<String,String>)
已淘汰.

為 HTTP 認證請求中的查詢字串設定額外查詢參數

WithExtraQueryParameters(IDictionary<String,ValueTuple<String,Boolean>>)

為 HTTP 認證請求中的查詢字串設定額外查詢參數,並控制快取金鑰中包含哪些參數

WithExtraQueryParameters(String)
已淘汰.

為 HTTP 認證請求中的查詢字串設定額外查詢參數

WithExtraQueryParameters(IDictionary<String,String>)

警告

This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.

為 HTTP 認證請求中的查詢字串設定額外查詢參數

[System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)]
public T WithExtraQueryParameters(System.Collections.Generic.IDictionary<string,string> extraQueryParameters);
[<System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)>]
member this.WithExtraQueryParameters : System.Collections.Generic.IDictionary<string, string> -> 'T
Public Function WithExtraQueryParameters (extraQueryParameters As IDictionary(Of String, String)) As T

參數

extraQueryParameters
IDictionary<String,String>

此參數將以 HTTP 認證請求 中以 為 的段落串,並以 & 字元分隔,直接附加於 的查詢串中。 參數可以為零。

傳回

T

建構者用來串接 .搭配方法

屬性

適用於

WithExtraQueryParameters(IDictionary<String,ValueTuple<String,Boolean>>)

為 HTTP 認證請求中的查詢字串設定額外查詢參數,並控制快取金鑰中包含哪些參數

public T WithExtraQueryParameters(System.Collections.Generic.IDictionary<string,(string Value, bool IncludeInCacheKey)> extraQueryParameters);
member this.WithExtraQueryParameters : System.Collections.Generic.IDictionary<string, ValueTuple<string, bool>> -> 'T
Public Function WithExtraQueryParameters (extraQueryParameters As IDictionary(Of String, ValueTuple(Of String, Boolean))) As T

參數

extraQueryParameters
IDictionary<String,ValueTuple<String,Boolean>>

此參數將直接附加於 HTTP 認證請求中對權威機構的查詢字串,並與請求層級的 WithExtraQueryParameters API 中新增的參數合併。 每個字典項目會將參數名稱映射到包含以下的元組:- 值:將附加到查詢字串後的參數值- IncludeInCacheKey:計算該標記快取金鑰時是否應包含此參數。 為確保從快取回傳正確的令牌,若參數影響標記內容或有效性(例如資源特定聲明或參數),IncludeInCacheKey 應為真。 參數可以為零。

傳回

T

建造者連接到 。用方法。

適用於

WithExtraQueryParameters(String)

警告

This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.

為 HTTP 認證請求中的查詢字串設定額外查詢參數

[System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)]
public T WithExtraQueryParameters(string extraQueryParameters);
[<System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)>]
member this.WithExtraQueryParameters : string -> 'T
Public Function WithExtraQueryParameters (extraQueryParameters As String) As T

參數

extraQueryParameters
String

此參數會直接附加在 HTTP 認證請求中對權威機構的查詢字串中。 字串必須正確地以 URL 編碼,並準備以 格式的段落 串發送,中間以 & 字元分隔。

傳回

T
屬性

適用於