共用方式為


AudioDeviceModuleNotificationEventArgs 類別

定義

提供 AudioDeviceModulesManager.ModuleNotificationReceived 事件的資料,此事件會在音訊裝置模組變更時引發。

public ref class AudioDeviceModuleNotificationEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioDeviceModuleNotificationEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioDeviceModuleNotificationEventArgs
Public NotInheritable Class AudioDeviceModuleNotificationEventArgs
繼承
Object Platform::Object IInspectable AudioDeviceModuleNotificationEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

屬性

Module

取得觸發變更事件的音訊裝置模組。

NotificationData

取得緩衝區,其中包含可識別模組中發生之變更的資料。 此資料是由模組開發人員所定義。

適用於