MiracastReceiverConnectionCreatedEventArgs.Connection 属性

定义

获取新创建的连接的 MiracastReceiverConnection 对象。

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

属性值

MiracastReceiverConnection 对象。

注解

当事件处理程序返回或延迟完成时,新连接被视为已接受。 若要拒绝不需要的连接,请调用 MiracastReceiverConnection.Disconnect

适用于

另请参阅