ClientWebSocket.HttpResponseHeaders 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果 CollectHttpResponseDetails 設定) 或設定升級響應標頭,則取得 (。
public:
property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ HttpResponseHeaders { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ get(); void set(System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ value); };
public System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IEnumerable<string>>? HttpResponseHeaders { get; set; }
member this.HttpResponseHeaders : System.Collections.Generic.IReadOnlyDictionary<string, seq<string>> with get, set
Public Property HttpResponseHeaders As IReadOnlyDictionary(Of String, IEnumerable(Of String))
屬性值
備註
setter 可用來減少不再需要標頭之後,作用中 WebSocket 連線的記憶體使用量。