你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LineCrossingProcessor 构造函数

定义

初始化 LineCrossingProcessor 的新实例。

public LineCrossingProcessor(string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NamedLineBase> lines);
new Azure.Media.VideoAnalyzer.Edge.Models.LineCrossingProcessor : string * seq<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> * seq<Azure.Media.VideoAnalyzer.Edge.Models.NamedLineBase> -> Azure.Media.VideoAnalyzer.Edge.Models.LineCrossingProcessor
Public Sub New (name As String, inputs As IEnumerable(Of NodeInput), lines As IEnumerable(Of NamedLineBase))

参数

name
String

节点名称。 在拓扑中必须是唯一的。

inputs
IEnumerable<NodeInput>

拓扑中要用作此节点输入的上游节点引用数组。

lines
IEnumerable<NamedLineBase>

用于计算跨线事件的线条数组。

例外

nameinputslines 为 null。

适用于