你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.ProviderHub.Runtime.Response<'T> : Func<System.Threading.Tasks.Task<'T>> -> Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.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.ProviderHub.Runtime.Response<'T> : Func<'T> -> Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.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.ProviderHub.Runtime.Response<'T> : 'T -> Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.Response<'T>
Public Sub New (value As T)

Parameters

value
T

Applies to