Share via


Response<T> Constructors

Definition

Overloads

Response<T>(Func<Task<T>>)
Response<T>(Func<T>)
Response<T>(T)

Response<T>(Func<Task<T>>)

public Response (Func<System.Threading.Tasks.Task<T>> value);
new Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Response<'T> : Func<System.Threading.Tasks.Task<'T>> -> Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Response<'T>
Public Sub New (value As Func(Of Task(Of T)))

Parameters

value
Func<Task<T>>

Applies to

Response<T>(Func<T>)

public Response (Func<T> value);
new Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Response<'T> : Func<'T> -> Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Response<'T>
Public Sub New (value As Func(Of T))

Parameters

value
Func<T>

Applies to

Response<T>(T)

public Response (T value);
new Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Response<'T> : 'T -> Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Response<'T>
Public Sub New (value As T)

Parameters

value
T

Applies to