Share via


MiracastReceiverConnectionCreatedEventArgs.Connection Property

Definition

Gets the MiracastReceiverConnection object of the newly created connection.

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

Property Value

The MiracastReceiverConnection object.

Remarks

The new connection is considered accepted when the event handler returns, or when the deferral is completed. To reject an unwanted connection, invoke MiracastReceiverConnection.Disconnect.

Applies to

See also