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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET