Share via


MapsRoutingModelFactory.RouteSectionTecCause Method

Definition

Initializes a new instance of RouteSectionTecCause.

public static Azure.Maps.Routing.Models.RouteSectionTecCause RouteSectionTecCause (int? mainCauseCode = default, int? subCauseCode = default);
static member RouteSectionTecCause : Nullable<int> * Nullable<int> -> Azure.Maps.Routing.Models.RouteSectionTecCause
Public Shared Function RouteSectionTecCause (Optional mainCauseCode As Nullable(Of Integer) = Nothing, Optional subCauseCode As Nullable(Of Integer) = Nothing) As RouteSectionTecCause

Parameters

mainCauseCode
Nullable<Int32>

The main cause of the traffic event. Contains a value in the tec002:CauseCode table, as defined in the TPEG2-TEC standard.

subCauseCode
Nullable<Int32>

The subcause of the traffic event. Contains a value in the sub cause table defined by the mainCauseCode, as defined in the TPEG2-TEC standard.

Returns

A new RouteSectionTecCause instance for mocking.

Applies to