共用方式為


MediaGraphIoTHubMessageSink Constructor

Definition

Initializes a new instance of MediaGraphIoTHubMessageSink.

public MediaGraphIoTHubMessageSink (string name, System.Collections.Generic.IEnumerable<Azure.Media.Analytics.Edge.Models.MediaGraphNodeInput> inputs, string hubOutputName);
new Azure.Media.Analytics.Edge.Models.MediaGraphIoTHubMessageSink : string * seq<Azure.Media.Analytics.Edge.Models.MediaGraphNodeInput> * string -> Azure.Media.Analytics.Edge.Models.MediaGraphIoTHubMessageSink
Public Sub New (name As String, inputs As IEnumerable(Of MediaGraphNodeInput), hubOutputName As String)

Parameters

name
String

The name to be used for the media graph sink.

inputs
IEnumerable<MediaGraphNodeInput>

An array of the names of the other nodes in the media graph, the outputs of which are used as input for this sink node.

hubOutputName
String

Name of the output path to which the media graph will publish message. These messages can then be delivered to desired destinations by declaring routes referencing the output path in the IoT Edge deployment manifest.

Exceptions

name, inputs, or hubOutputName is null.

Applies to