MiracastReceiverConnectionCreatedEventArgs.Connection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.