ArmIotHubModelFactory.RouteCompilationError Method

Definition

Initializes a new instance of RouteCompilationError.

public static Azure.ResourceManager.IotHub.Models.RouteCompilationError RouteCompilationError (string message = default, Azure.ResourceManager.IotHub.Models.RouteErrorSeverity? severity = default, Azure.ResourceManager.IotHub.Models.RouteErrorRange location = default);
static member RouteCompilationError : string * Nullable<Azure.ResourceManager.IotHub.Models.RouteErrorSeverity> * Azure.ResourceManager.IotHub.Models.RouteErrorRange -> Azure.ResourceManager.IotHub.Models.RouteCompilationError
Public Shared Function RouteCompilationError (Optional message As String = Nothing, Optional severity As Nullable(Of RouteErrorSeverity) = Nothing, Optional location As RouteErrorRange = Nothing) As RouteCompilationError

Parameters

message
String

Route error message.

severity
Nullable<RouteErrorSeverity>

Severity of the route error.

location
RouteErrorRange

Location where the route error happened.

Returns

A new RouteCompilationError instance for mocking.

Applies to