Editare

Partajați prin


ResolveProgressChangedEventArgs(PeerNameRecord, Object) Constructor

Definition

Initializes a new instance of the ResolveProgressChangedEventArgs class.

public:
 ResolveProgressChangedEventArgs(System::Net::PeerToPeer::PeerNameRecord ^ peerNameRecord, System::Object ^ userToken);
public ResolveProgressChangedEventArgs (System.Net.PeerToPeer.PeerNameRecord peerNameRecord, object userToken);
new System.Net.PeerToPeer.ResolveProgressChangedEventArgs : System.Net.PeerToPeer.PeerNameRecord * obj -> System.Net.PeerToPeer.ResolveProgressChangedEventArgs
Public Sub New (peerNameRecord As PeerNameRecord, userToken As Object)

Parameters

peerNameRecord
PeerNameRecord

The PeerNameRecord object to be found.

userToken
Object

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

Remarks

The resolved peer name is accessible via the PeerName property.

The user state is inherited from AsyncCompletedEventArgs.

Applies to