PeerNearMe.Invite PeerNearMe.Invite PeerNearMe.Invite PeerNearMe.Invite Method

Definition

Sends an invitation to join a peer collaboration application to a remote peer.

Overloads

Invite() Invite() Invite() Invite()

Sends an invitation to join a peer collaboration application to a remote peer.

Invite(PeerApplication, String, Byte[]) Invite(PeerApplication, String, Byte[]) Invite(PeerApplication, String, Byte[]) Invite(PeerApplication, String, Byte[])

Sends an invitation to join a peer collaboration application to a remote peer that includes data that describes or specifies the application invite.

Invite() Invite() Invite() Invite()

Sends an invitation to join a peer collaboration application to a remote peer.

public:
 override System::Net::PeerToPeer::Collaboration::PeerInvitationResponse ^ Invite();
[System.Security.SecurityCritical]
public override System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite ();
override this.Invite : unit -> System.Net.PeerToPeer.Collaboration.PeerInvitationResponse
Public Overrides Function Invite () As PeerInvitationResponse

Returns

Exceptions

Invite(PeerApplication, String, Byte[]) Invite(PeerApplication, String, Byte[]) Invite(PeerApplication, String, Byte[]) Invite(PeerApplication, String, Byte[])

Sends an invitation to join a peer collaboration application to a remote peer that includes data that describes or specifies the application invite.

public:
 override System::Net::PeerToPeer::Collaboration::PeerInvitationResponse ^ Invite(System::Net::PeerToPeer::Collaboration::PeerApplication ^ applicationToInvite, System::String ^ message, cli::array <System::Byte> ^ invitationData);
[System.Security.SecurityCritical]
public override System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite (System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData);
override this.Invite : System.Net.PeerToPeer.Collaboration.PeerApplication * string * byte[] -> System.Net.PeerToPeer.Collaboration.PeerInvitationResponse
Public Overrides Function Invite (applicationToInvite As PeerApplication, message As String, invitationData As Byte()) As PeerInvitationResponse

Parameters

applicationToInvite
PeerApplication PeerApplication PeerApplication PeerApplication

Specifies the relevant Peer Collaboration application represented by a PeerApplication instance.

message
String String String String

A message to send to the remote peer along with the application invitation. The message can be no more than 255 Unicode characters.

invitationData
Byte[]

A user defined data blob to associate with the invitation. Size is limited to 16K (16,384 bytes).

Returns

Exceptions

Applies to