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

SendAsyncFactory Constructors

Definition

Overloads

SendAsyncFactory(SendAsyncStep)
SendAsyncFactory(Func<HttpRequestMessage,CancellationToken,Action, Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage, CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>, Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>)

This translates a generic-defined delegate for a listener into one that fits our ISendAsync pattern. (Provided to support out-of-module delegation for Azure Cmdlets)

SendAsyncFactory(SendAsyncStep)

public SendAsyncFactory (Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.SendAsyncStep implementation);
new Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.SendAsyncFactory : Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.SendAsyncStep -> Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.SendAsyncFactory
Public Sub New (implementation As SendAsyncStep)

Parameters

implementation
SendAsyncStep

Applies to

SendAsyncFactory(Func<HttpRequestMessage,CancellationToken,Action, Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage, CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>, Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>)

This translates a generic-defined delegate for a listener into one that fits our ISendAsync pattern. (Provided to support out-of-module delegation for Azure Cmdlets)

public SendAsyncFactory (Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>> step);
new Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.SendAsyncFactory : Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>> -> Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.SendAsyncFactory
Public Sub New (step As Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Task(Of HttpResponseMessage)), Task(Of HttpResponseMessage)))

Parameters

Applies to