PeerContact.GetApplications PeerContact.GetApplications PeerContact.GetApplications PeerContact.GetApplications Method

Definition

Retrieves the PeerApplication objects that were registered by the remote peer into the local cache.

Overloads

GetApplications() GetApplications() GetApplications() GetApplications()

Retrieves the PeerApplication objects that were registered by the remote peer into the local cache.

GetApplications(Guid) GetApplications(Guid) GetApplications(Guid) GetApplications(Guid)

Gets the collection of PeerApplication objects with the specified Guid from the local cache.

GetApplications(PeerEndPoint) GetApplications(PeerEndPoint) GetApplications(PeerEndPoint)

Gets the PeerApplicationCollection associated with the specified PeerEndPoint.

GetApplications(PeerEndPoint, Guid) GetApplications(PeerEndPoint, Guid) GetApplications(PeerEndPoint, Guid)

Gets the PeerApplicationCollection associated with the specified PeerEndPoint.

Remarks

This functionality is only exposed on the PeerContact class. This functionality is not exposed on any other type of peer for security reasons.

GetApplications() GetApplications() GetApplications() GetApplications()

Retrieves the PeerApplication objects that were registered by the remote peer into the local cache.

public:
 System::Net::PeerToPeer::Collaboration::PeerApplicationCollection ^ GetApplications();
[System.Security.SecurityCritical]
public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications ();
member this.GetApplications : unit -> System.Net.PeerToPeer.Collaboration.PeerApplicationCollection
Public Function GetApplications () As PeerApplicationCollection

Returns

The PeerApplicationCollection from the local cache. If associated applications are not found for the PeerEndPoint, a collection of size zero (0) is returned.

Exceptions

Remarks

If the calling peer is not subscribed to the PeerContact associated with the specified PeerEndPoint the RefreshData method must be called prior to calling this method.

While the caller is not required to sign-in to the collaboration infrastructure for this method to complete successfully, a successful call to RefreshData or one of the Subscribe methods must have been completed while the caller was previously signed in.

This functionality is only exposed on the PeerContact class. This functionality is not exposed on any other type of peer for security reasons.

Notes to Callers

Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.

GetApplications(Guid) GetApplications(Guid) GetApplications(Guid) GetApplications(Guid)

Gets the collection of PeerApplication objects with the specified Guid from the local cache.

public:
 System::Net::PeerToPeer::Collaboration::PeerApplicationCollection ^ GetApplications(Guid applicationId);
[System.Security.SecurityCritical]
public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications (Guid applicationId);
member this.GetApplications : Guid -> System.Net.PeerToPeer.Collaboration.PeerApplicationCollection
Public Function GetApplications (applicationId As Guid) As PeerApplicationCollection

Parameters

applicationId
Guid Guid Guid Guid

The Guid of the peer application to be retrieved.

Returns

The PeerApplicationCollection from the local cache. If no applications are found with the specified applicationId, a collection of size zero (0) is returned.

Exceptions

Remarks

If the calling peer is not subscribed to the PeerContact associated with the specified PeerEndPoint the RefreshData method must be called prior to calling this method.

While the caller is not required to sign-in to the collaboration infrastructure for this method to complete successfully, a successful call to RefreshData or one of the Subscribe methods must have been completed while the caller was previously signed in.

This functionality is only exposed on the PeerContact class. This functionality is not exposed on any other type of peer for security reasons.

Notes to Callers

Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.

See also

GetApplications(PeerEndPoint) GetApplications(PeerEndPoint) GetApplications(PeerEndPoint)

Gets the PeerApplicationCollection associated with the specified PeerEndPoint.

public:
 System::Net::PeerToPeer::Collaboration::PeerApplicationCollection ^ GetApplications(System::Net::PeerToPeer::Collaboration::PeerEndPoint ^ peerEndPoint);
[System.Security.SecurityCritical]
public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications (System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint);
member this.GetApplications : System.Net.PeerToPeer.Collaboration.PeerEndPoint -> System.Net.PeerToPeer.Collaboration.PeerApplicationCollection

Parameters

peerEndPoint
PeerEndPoint PeerEndPoint PeerEndPoint PeerEndPoint

Contains endpoint information associated with the PeerContact.

Returns

The PeerApplicationCollection associated with the specified PeerEndPoint. If applications are not associated with the specified PeerEndPoint, a collection of size zero (0) is returned.

Exceptions

Remarks

If the calling peer is not subscribed to the PeerContact associated with the specified PeerEndPoint the RefreshData method must be called prior to calling this method.

While the caller is not required to sign-in to the collaboration infrastructure for this method to complete successfully, a successful call to RefreshData or one of the Subscribe methods must have been completed while the caller was previously signed in.

This functionality is only exposed on the PeerContact class. This functionality is not exposed on any other type of peer for security reasons.

Notes to Callers

Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.

See also

GetApplications(PeerEndPoint, Guid) GetApplications(PeerEndPoint, Guid) GetApplications(PeerEndPoint, Guid)

Gets the PeerApplicationCollection associated with the specified PeerEndPoint.

public:
 System::Net::PeerToPeer::Collaboration::PeerApplicationCollection ^ GetApplications(System::Net::PeerToPeer::Collaboration::PeerEndPoint ^ peerEndPoint, Guid applicationId);
[System.Security.SecurityCritical]
public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications (System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint, Guid applicationId);
member this.GetApplications : System.Net.PeerToPeer.Collaboration.PeerEndPoint * Guid -> System.Net.PeerToPeer.Collaboration.PeerApplicationCollection

Parameters

peerEndPoint
PeerEndPoint PeerEndPoint PeerEndPoint PeerEndPoint

The endpoint associated with the PeerApplicationCollection.

applicationId
Guid Guid Guid Guid

Contains application information associated with the PeerContact.

Returns

The collection of PeerApplication objects associated with the PeerEndPoint.

If applications identified by the ID are not found for the PeerEndPoint, or if the ID for the endpoint is null or invalid, a collection of size zero (0) is returned.

Exceptions

Remarks

If the calling peer is not subscribed to the PeerContact associated with the specified PeerEndPoint the RefreshData method must be called prior to calling this method.

While the caller is not required to sign-in to the collaboration infrastructure for this method to complete successfully, a successful call to RefreshData or one of the Subscribe methods must have been completed while the caller was previously signed in.

This functionality is only exposed on the PeerContact class. This functionality is not exposed on any other type of peer for security reasons.

Notes to Callers

Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.

See also

Applies to