PeerNearMe.AddToContactManager Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a PeerContact from a PeerNearMe object and associates it with the ContactManager.
Overloads
AddToContactManager() |
Generates a PeerContact from the PeerNearMe object and associates it with the ContactManager. |
AddToContactManager(String, String, MailAddress) |
Generates a PeerContact with the associated descriptive parameters from the PeerNearMe object and associates it with the ContactManager. |
AddToContactManager()
Generates a PeerContact from the PeerNearMe object and associates it with the ContactManager.
public:
System::Net::PeerToPeer::Collaboration::PeerContact ^ AddToContactManager();
public System.Net.PeerToPeer.Collaboration.PeerContact AddToContactManager ();
member this.AddToContactManager : unit -> System.Net.PeerToPeer.Collaboration.PeerContact
Public Function AddToContactManager () As PeerContact
Returns
PeerContact object associated with the PeerEndPoint.
Exceptions
The Collaboration infrastructure has failed to create and associate a PeerContact with the ContactManager.
See also
Applies to
AddToContactManager(String, String, MailAddress)
Generates a PeerContact with the associated descriptive parameters from the PeerNearMe object and associates it with the ContactManager.
public:
System::Net::PeerToPeer::Collaboration::PeerContact ^ AddToContactManager(System::String ^ displayName, System::String ^ nickname, System::Net::Mail::MailAddress ^ emailAddress);
public System.Net.PeerToPeer.Collaboration.PeerContact AddToContactManager (string displayName, string nickname, System.Net.Mail.MailAddress emailAddress);
member this.AddToContactManager : string * string * System.Net.Mail.MailAddress -> System.Net.PeerToPeer.Collaboration.PeerContact
Public Function AddToContactManager (displayName As String, nickname As String, emailAddress As MailAddress) As PeerContact
Parameters
- displayName
- String
The display name assigned to the newly created contact.
- nickname
- String
The nickname
to assign to the newly created contact.
- emailAddress
- MailAddress
MailAddress object that specifies the email address to assign to the newly created contact.
Returns
PeerContact object associated with a PeerNearMe containing descriptive parameters.
Exceptions
The Collaboration infrastructure has failed to create or update a PeerContact with the ContactManager.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για