Partager via


ApiHubJobHostConfigurationExtensions.UseApiHub Méthode

Définition

Ajouter la configuration ApiHub à Microsoft.Azure.WebJobs.JobHostConfiguration

public static void UseApiHub (this Microsoft.Azure.WebJobs.JobHostConfiguration config, Microsoft.Azure.WebJobs.ApiHubConfiguration apiHubConfiguration = default);
static member UseApiHub : Microsoft.Azure.WebJobs.JobHostConfiguration * Microsoft.Azure.WebJobs.ApiHubConfiguration -> unit
<Extension()>
Public Sub UseApiHub (config As JobHostConfiguration, Optional apiHubConfiguration As ApiHubConfiguration = Nothing)

Paramètres

config
Microsoft.Azure.WebJobs.JobHostConfiguration

Actuelle Microsoft.Azure.WebJobs.JobHostConfiguration

apiHubConfiguration
ApiHubConfiguration

Instance de ApiHubConfiguration

S’applique à