This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|Resolve(PeerName)||Resolves the specified PeerName in all clouds known to the calling peer.|
|Resolve(PeerName, Int32)||Resolves the specified peer name in all clouds known to the calling peer, returning no more than the specified number of PeerNameRecord objects.|
|Resolve(PeerName, Cloud)||Resolves the specified PeerName in the specified Cloud.|
|Resolve(PeerName, Cloud, Int32)||Resolves the specified PeerName in the specified Cloud, returning no more than the specified number of PeerNameRecord objects.|
This method associates peer names to clouds. Calling the PeerNameResolver method is similar to calling the method for each peer name record in the PeerNameRecordCollection. Note that using the Resolve method on an individual peer name record does not invalidate resolving multiple peer names.
For every method, there is an equivalent ResolveAsync method. They are identical in the parameters they are passed, except that the ResolveAsync method includes a system token in its parameter list for asynchronous event handling.
If the Cloud parameter is not supplied, the method uses the Available shortcut to fill in cloud parameters. If the maxRecords parameter is missing, the default value of zero causes an ArgumentOutOfRangeException exception to be thrown.
This event will also be raised if the resolve operation completes in error or is canceled.