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)

System.Object
  System.EventArgs
    System.ComponentModel.ProgressChangedEventArgs
      System.Net.PeerToPeer.ResolveProgressChangedEventArgs

public class ResolveProgressChangedEventArgs : ProgressChangedEventArgs

NameDescription
System_CAPS_pubmethodResolveProgressChangedEventArgs(PeerNameRecord, Object)

Initializes a new instance of the ResolveProgressChangedEventArgs class.

NameDescription
System_CAPS_pubpropertyPeerNameRecord

Gets the PeerNameRecord object to resolve.

System_CAPS_pubpropertyProgressPercentage

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

System_CAPS_pubpropertyUserState

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

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_pubmethodToString()

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
Show:
© 2016 Microsoft