PeerCollaboration.ApplicationLaunchInfo Propriété

Définition

Obtient l’objet PeerApplicationLaunchInfo qui contient des informations nécessaires lorsqu’une application est démarrée en raison d’une demande de collaboration d’un homologue distant.

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

Valeur de propriété

Si l’application a été démarrée en raison d’une invitation, un PeerApplicationLaunchInfo objet qui contient à la fois des informations sur l’homologue qui a envoyé l’invitation à l’application et l’invitation elle-même est retournée ; sinon, null elle est retournée. La valeur par défaut de cette propriété est null.

Attributs

Remarques

Cette propriété doit être utilisée par une instance prenant en charge PeerApplication la collaboration une fois qu’elle a commencé à déterminer si elle a été démarrée en raison d’une demande de collaboration d’un homologue distant. L’application appelante doit inspecter les Data propriétés et Message obtenir des informations supplémentaires sur la demande d’invitation.

L’accès à cette propriété nécessite un PermissionState .Unrestricted Cet état est créé lorsque la Peer session de collaboration commence.

S’applique à

Voir aussi