RequestHeaders(IHeaderDictionary) 建構函式

定義

初始化 RequestHeaders 的新執行個體。

public:
 RequestHeaders(Microsoft::AspNetCore::Http::IHeaderDictionary ^ headers);
public RequestHeaders(Microsoft.AspNetCore.Http.IHeaderDictionary headers);
new Microsoft.AspNetCore.Http.Headers.RequestHeaders : Microsoft.AspNetCore.Http.IHeaderDictionary -> Microsoft.AspNetCore.Http.Headers.RequestHeaders
Public Sub New (headers As IHeaderDictionary)

參數

headers
IHeaderDictionary

要求標頭。

適用於