MapsRoutingModelFactory.RouteSectionTec Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RouteSectionTec.
public static Azure.Maps.Routing.Models.RouteSectionTec RouteSectionTec (int? effectCode = default, System.Collections.Generic.IEnumerable<Azure.Maps.Routing.Models.RouteSectionTecCause> causes = default);
static member RouteSectionTec : Nullable<int> * seq<Azure.Maps.Routing.Models.RouteSectionTecCause> -> Azure.Maps.Routing.Models.RouteSectionTec
Public Shared Function RouteSectionTec (Optional effectCode As Nullable(Of Integer) = Nothing, Optional causes As IEnumerable(Of RouteSectionTecCause) = Nothing) As RouteSectionTec
Parameters
The effect on the traffic flow. Contains a value in the tec001:EffectCode table, as defined in the TPEG2-TEC standard. Can be used to color-code traffic events according to severity.
- causes
- IEnumerable<RouteSectionTecCause>
Causes array.
Returns
A new RouteSectionTec instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET