Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PeerNameResolver Class

 

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

Namespace:   System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

System::Object
  System.Net.PeerToPeer::PeerNameResolver

public ref class PeerNameResolver 

NameDescription
System_CAPS_pubmethodPeerNameResolver()

Initializes a new default instance of the PeerNameResolver class.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnResolveCompleted(ResolveCompletedEventArgs^)

Returns peer resolution data after the ResolveCompleted event is raised.

System_CAPS_protmethodOnResolveProgressChanged(ResolveProgressChangedEventArgs^)

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

System_CAPS_pubmethodResolve(PeerName^)

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

System_CAPS_pubmethodResolve(PeerName^, Cloud^)

Resolves the specified PeerName in the specified Cloud.

System_CAPS_pubmethodResolve(PeerName^, Cloud^, Int32)

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

System_CAPS_pubmethodResolve(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.

System_CAPS_pubmethodResolveAsync(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.

System_CAPS_pubmethodResolveAsync(PeerName^, Cloud^, Object^)

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

System_CAPS_pubmethodResolveAsync(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.

System_CAPS_pubmethodResolveAsync(PeerName^, Object^)

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

System_CAPS_pubmethodResolveAsyncCancel(Object^)

Cancels the specified asynchronous peer name resolution request.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubeventResolveCompleted

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

System_CAPS_pubeventResolveProgressChanged

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

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft