共用方式為


MiracastReceiverConnectionCreatedEventArgs 類別

定義

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

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

備註

當事件處理常式傳回時,或延遲完成時,會被視為接受新的連接。 若要拒絕不必要的連線,請叫用 MiracastReceiverConnection.Disconnect

屬性

Connection

取得新建立之連接的 MiracastReceiverConnection 物件。

Pin

取得 Miracast 傳輸器裝置必須輸入的 PIN,如果未使用 PIN 驗證,則取得空字串。

方法

GetDeferral()

延遲 MiracastReceiverSession.ConnectionCreated 事件完成,直到叫用 Deferral.Complete 為止。

適用於

另請參閱