HttpRequestMessageExtensions.GetRequestPropertyOrDefault<TValue> 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.
public static TValue GetRequestPropertyOrDefault<TValue> (this System.Net.Http.HttpRequestMessage request, string key);
static member GetRequestPropertyOrDefault : System.Net.Http.HttpRequestMessage * string -> 'Value
<Extension()>
Public Function GetRequestPropertyOrDefault(Of TValue) (request As HttpRequestMessage, key As String) As TValue
Type Parameters
- TValue
Parameters
- request
- HttpRequestMessage
- key
- String
Returns
TValue