WebViewManager.TryGetResponseContent Metoda

Definice

Pokusí se poskytnout obsah odpovědi pro danou žádost o síť.

protected bool TryGetResponseContent (string uri, bool allowFallbackOnHostPage, out int statusCode, out string statusMessage, out System.IO.Stream content, out System.Collections.Generic.IDictionary<string,string> headers);
member this.TryGetResponseContent : string * bool * int * string * Stream * IDictionary -> bool
Protected Function TryGetResponseContent (uri As String, allowFallbackOnHostPage As Boolean, ByRef statusCode As Integer, ByRef statusMessage As String, ByRef content As Stream, ByRef headers As IDictionary(Of String, String)) As Boolean

Parametry

uri
String

Identifikátor URI požadavku

allowFallbackOnHostPage
Boolean

Jestli se chcete vrátit na stránku hostitele nebo ne.

statusCode
Int32

Stavový kód odpovědi.

statusMessage
String

Stavová zpráva odpovědi.

content
Stream

Obsah odpovědi

headers
IDictionary<String,String>

Hlavičky odpovědi

Návraty

Boolean

true , pokud lze poskytnout odpověď; jinak nepravda .

Platí pro