ResolveProgressChangedEventArgs Constructor (PeerNameRecord, Object)

 

Initializes a new instance of the ResolveProgressChangedEventArgs class.

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

public ResolveProgressChangedEventArgs(
	PeerNameRecord peerNameRecord,
	object userToken
)

Parameters

peerNameRecord
Type: System.Net.PeerToPeer.PeerNameRecord

The PeerNameRecord object to be found.

userToken
Type: System.Object

The unique user state object supplied when a ResolveAsync operation was started.

The resolved peer name is accessible via the PeerName property.

The user state is inherited from AsyncCompletedEventArgs.

.NET Framework
Available since 3.5
Return to top
Show: