Επεξεργασία

Κοινή χρήση μέσω


PeerCollaboration.ApplicationLaunchInfo Property

Definition

Gets the PeerApplicationLaunchInfo object that contains information needed when an application is started due to a collaboration request from a remote peer.

public:
 static property System::Net::PeerToPeer::Collaboration::PeerApplicationLaunchInfo ^ ApplicationLaunchInfo { System::Net::PeerToPeer::Collaboration::PeerApplicationLaunchInfo ^ get(); };
public static System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo ApplicationLaunchInfo { [System.Security.SecurityCritical] get; }
[<get: System.Security.SecurityCritical>]
static member ApplicationLaunchInfo : System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo
Public Shared ReadOnly Property ApplicationLaunchInfo As PeerApplicationLaunchInfo

Property Value

If the application was started due to an invitation, a PeerApplicationLaunchInfo object that contains both information about the peer that sent the application invitation and the invitation itself is returned; otherwise, null is returned. The default value for this property is null.

Attributes

Remarks

This property is to be used by a collaboration-aware PeerApplication instance after it is started to determine whether it was started due to a collaboration request from a remote peer. The calling application should inspect the Data and Message properties to get further information about the invitation request.

Access to this property requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.

Applies to

See also