Response.FromValue<T>(T, Response) 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.
Creates a new instance of Response<T> with the provided value and HTTP response.
public static Azure.Response<T> FromValue<T> (T value, Azure.Response response);
static member FromValue : 'T * Azure.Response -> Azure.Response<'T>
Public Shared Function FromValue(Of T) (value As T, response As Response) As Response(Of T)
Type Parameters
- T
The type of the value.
Parameters
- value
- T
The value.
- response
- Response
The HTTP response.
Returns
A new instance of Response<T> with the provided value and HTTP response.
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