共用方式為


MiracastReceiverDisconnectedEventArgs.Connection 屬性

定義

會傳回已中斷連線之連線的 MiracastReceiverConnection 物件。

public:
 property MiracastReceiverConnection ^ Connection { MiracastReceiverConnection ^ get(); };
MiracastReceiverConnection Connection();
public MiracastReceiverConnection Connection { get; }
var miracastReceiverConnection = miracastReceiverDisconnectedEventArgs.connection;
Public ReadOnly Property Connection As MiracastReceiverConnection

屬性值

已中斷連線之連線的 MiracastReceiverConnection 物件。

備註

由於 MiracastReceiverSession 可以在多個連線上運作,因此請使用 Connection 屬性來判斷事件所參考的連接。

適用於

另請參閱