Udostępnij za pośrednictwem


IotHubFallbackRouteProperties Constructor

Definition

Initializes a new instance of IotHubFallbackRouteProperties.

public IotHubFallbackRouteProperties (Azure.ResourceManager.IotHub.Models.IotHubRoutingSource source, System.Collections.Generic.IEnumerable<string> endpointNames, bool isEnabled);
new Azure.ResourceManager.IotHub.Models.IotHubFallbackRouteProperties : Azure.ResourceManager.IotHub.Models.IotHubRoutingSource * seq<string> * bool -> Azure.ResourceManager.IotHub.Models.IotHubFallbackRouteProperties
Public Sub New (source As IotHubRoutingSource, endpointNames As IEnumerable(Of String), isEnabled As Boolean)

Parameters

source
IotHubRoutingSource

The source to which the routing rule is to be applied to. For example, DeviceMessages.

endpointNames
IEnumerable<String>

The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.

isEnabled
Boolean

Used to specify whether the fallback route is enabled.

Exceptions

endpointNames is null.

Applies to