共用方式為


ApiHubJobHostConfigurationExtensions.UseApiHub Method

Definition

Add ApiHub configuration to 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)

Parameters

config
Microsoft.Azure.WebJobs.JobHostConfiguration

current Microsoft.Azure.WebJobs.JobHostConfiguration

apiHubConfiguration
ApiHubConfiguration

Instance of ApiHubConfiguration

Applies to