SendAsyncFactory 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
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.Nginx.Runtime.SendAsyncStep implementation);
new Microsoft.Azure.PowerShell.Cmdlets.Nginx.Runtime.SendAsyncFactory : Microsoft.Azure.PowerShell.Cmdlets.Nginx.Runtime.SendAsyncStep -> Microsoft.Azure.PowerShell.Cmdlets.Nginx.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.Nginx.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.Nginx.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
- step
- Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>
The Pipeline Step as a delegate