MidiSystemExclusiveMessage 类

定义

表示指定系统独占消息的 MIDI 消息。

public ref class MidiSystemExclusiveMessage sealed : IMidiMessage
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiSystemExclusiveMessageFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MidiSystemExclusiveMessage final : IMidiMessage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiSystemExclusiveMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiSystemExclusiveMessage final : IMidiMessage
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiSystemExclusiveMessageFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MidiSystemExclusiveMessage : IMidiMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiSystemExclusiveMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiSystemExclusiveMessage : IMidiMessage
function MidiSystemExclusiveMessage(rawData)
Public NotInheritable Class MidiSystemExclusiveMessage
Implements IMidiMessage
继承
Object Platform::Object IInspectable MidiSystemExclusiveMessage
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

构造函数

MidiSystemExclusiveMessage(IBuffer)

创建新的 MidiSystemExclusiveMessage 对象。

属性

RawData

获取与 MIDI 消息关联的字节数组,包括状态字节。

Timestamp

获取从创建 MidiInPort 到收到消息的时间的持续时间。 对于发送到 MidiOutPort 的消息,此值没有意义。

Type

获取此 MIDI 消息的类型。

适用于

另请参阅