Partager via


SendAsyncFactory Class

Definition

This is a necessary extension to the SendAsyncFactory to support the 'generic' delegate format.

public class SendAsyncFactory : Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.ISendAsyncFactory
type SendAsyncFactory = class
    interface ISendAsyncFactory
Public Class SendAsyncFactory
Implements ISendAsyncFactory
Inheritance
SendAsyncFactory
Implements

Constructors

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)

Methods

Create(ISendAsync)

Applies to