你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GeneralUtilities.GetHttpResponseLog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetHttpResponseLog(String, HttpHeaders, String, IList<Regex>)
public static string GetHttpResponseLog (string statusCode, System.Net.Http.Headers.HttpHeaders headers, string body, System.Collections.Generic.IList<System.Text.RegularExpressions.Regex> matchers = default);
static member GetHttpResponseLog : string * System.Net.Http.Headers.HttpHeaders * string * System.Collections.Generic.IList<System.Text.RegularExpressions.Regex> -> string
Public Function GetHttpResponseLog (statusCode As String, headers As HttpHeaders, body As String, Optional matchers As IList(Of Regex) = Nothing) As String
Parameters
- statusCode
- String
- headers
- HttpHeaders
- body
- String
Returns
Applies to
GetHttpResponseLog(String, IDictionary<String,IEnumerable<String>>, String, IList<Regex>)
public static string GetHttpResponseLog (string statusCode, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IEnumerable<string>> headers, string body, System.Collections.Generic.IList<System.Text.RegularExpressions.Regex> matchers = default);
static member GetHttpResponseLog : string * System.Collections.Generic.IDictionary<string, seq<string>> * string * System.Collections.Generic.IList<System.Text.RegularExpressions.Regex> -> string
Public Function GetHttpResponseLog (statusCode As String, headers As IDictionary(Of String, IEnumerable(Of String)), body As String, Optional matchers As IList(Of Regex) = Nothing) As String
Parameters
- statusCode
- String
- headers
- IDictionary<String,IEnumerable<String>>
- body
- String
Returns
Applies to
GetHttpResponseLog(String, IDictionary<String,IEnumerable<String>>, String)
public static string GetHttpResponseLog (string statusCode, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IEnumerable<string>> headers, string body);
static member GetHttpResponseLog : string * System.Collections.Generic.IDictionary<string, seq<string>> * string -> string
Public Function GetHttpResponseLog (statusCode As String, headers As IDictionary(Of String, IEnumerable(Of String)), body As String) As String
Parameters
- statusCode
- String
- headers
- IDictionary<String,IEnumerable<String>>
- body
- String
Returns
Applies to
GetHttpResponseLog(String, HttpHeaders, String)
public static string GetHttpResponseLog (string statusCode, System.Net.Http.Headers.HttpHeaders headers, string body);
static member GetHttpResponseLog : string * System.Net.Http.Headers.HttpHeaders * string -> string
Public Function GetHttpResponseLog (statusCode As String, headers As HttpHeaders, body As String) As String
Parameters
- statusCode
- String
- headers
- HttpHeaders
- body
- String