Επεξεργασία

Κοινή χρήση μέσω


PeerNameResolver Class

Definition

Specifies the values that resolve a PeerName to a PeerNameRecord using the PNRP Namespace Provider API protocol.

public ref class PeerNameResolver
public class PeerNameResolver
type PeerNameResolver = class
Public Class PeerNameResolver
Inheritance
PeerNameResolver

Remarks

A PeerNameRecord which contains all the information for the PeerName that was published in the Cloud or cloud(s) that were queried during the resolve process.

Constructors

PeerNameResolver()

Initializes a new default instance of the PeerNameResolver class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnResolveCompleted(ResolveCompletedEventArgs)

Returns peer resolution data after the ResolveCompleted event is raised.

OnResolveProgressChanged(ResolveProgressChangedEventArgs)

Returns peer resolution progress data when the ResolveProgressChanged event is raised.

Resolve(PeerName, Cloud, Int32)

Resolves the specified PeerName in the specified Cloud, returning no more than the specified number of PeerNameRecord objects.

Resolve(PeerName, Cloud)

Resolves the specified PeerName in the specified Cloud.

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)

Resolves the specified PeerName in all clouds known to the calling peer.

ResolveAsync(PeerName, Cloud, Int32, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in the specified Cloud. The resolution operation will resolve no more than maxRecords entries for the specified peer name.

ResolveAsync(PeerName, Cloud, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in the specified Cloud.

ResolveAsync(PeerName, Int32, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in all clouds known to the calling peer, returning no more than maxRecords entries for the peer name.

ResolveAsync(PeerName, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in all clouds known to the calling peer.

ResolveAsyncCancel(Object)

Cancels the specified asynchronous peer name resolution request.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

ResolveCompleted

The ResolveCompleted event is signaled when a peer name resolution request for a specific PeerName has completed.

ResolveProgressChanged

This event is signaled whenever a PeerNameRecord object is found in response to a ResolveAsync operation for a specific PeerName.

Applies to