Response.FromValue<T>(T, Response) Method

Definition

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