Response<T> Constructors
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.
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.StackHCI.Runtime.Response<'T> : Func<System.Threading.Tasks.Task<'T>> -> Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Response<'T>
Public Sub New (value As Func(Of Task(Of T)))
Parameters
Applies to
Response<T>(Func<T>)
public Response (Func<T> value);
new Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Response<'T> : Func<'T> -> Microsoft.Azure.PowerShell.Cmdlets.StackHCI.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.StackHCI.Runtime.Response<'T> : 'T -> Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Response<'T>
Public Sub New (value As T)
Parameters
- value
- T