ResolveProgressChangedEventArgs Class

ResolveProgressChangedEventArgs Class


Used in conjunction with signaling the ResolveProgressChanged event. It is signaled whenever a PeerNameRecord object is found in response to a ResolveAsync operation on a specific PeerName.

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


public class ResolveProgressChangedEventArgs : ProgressChangedEventArgs

System_CAPS_pubmethodResolveProgressChangedEventArgs(PeerNameRecord, Object)

Initializes a new instance of the ResolveProgressChangedEventArgs class.


Gets the PeerNameRecord object to resolve.


Gets the asynchronous task progress percentage.(Inherited from ProgressChangedEventArgs.)


Gets a unique user state.(Inherited from ProgressChangedEventArgs.)


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


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


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


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


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


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

If multiple peer name record objects exist in the cloud(s) being queried, this event is signaled once for each record object found. The ResolveCompleted event is raised only once when all endpoints have been found.

Normal process completion implies that either the Resolver object has reached the end of the cloud(s) to query for peer names, or it has reached the maximum number of record entries for the peer name record collection it is constructing.

All references to this instance of the Resolver are coordinated with the token userState Object, which is a unique identifier for this asynchronous resolve request.

.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
© 2015 Microsoft