PeerCollaboration.ApplicationLaunchInfo Propriedade
Definição
Obtém o objeto PeerApplicationLaunchInfo que contém informações necessárias quando um aplicativo é iniciado devido a uma solicitação de colaboração de um par remoto.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(); };
[get: System.Security.SecurityCritical]
public static System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo ApplicationLaunchInfo { get; }
[<get: System.Security.SecurityCritical>]
member this.ApplicationLaunchInfo : System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo
Public Shared ReadOnly Property ApplicationLaunchInfo As PeerApplicationLaunchInfo
Valor da propriedade
Se o aplicativo foi iniciado devido a um convite, um PeerApplicationLaunchInfo objeto que contém as informações sobre o par que enviou o convite do aplicativo e o próprio convite será retornado; caso contrário, null será retornado.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. O valor padrão desta propriedade é null.The default value for this property is null.
- Atributos
Comentários
Essa propriedade deve ser usada por uma instância com reconhecimento de colaboração PeerApplication depois que ela é iniciada para determinar se ela foi iniciada devido a uma solicitação de colaboração de um par remoto.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. O aplicativo de chamada deve inspecionar as Data Message Propriedades e para obter mais informações sobre a solicitação de convite.The calling application should inspect the Data and Message properties to get further information about the invitation request.
O acesso a essa propriedade requer um PermissionState de Unrestricted .Access to this property requires a PermissionState of Unrestricted. Esse estado é criado quando a Peer sessão de colaboração começa.This state is created when the Peer collaboration session begins.