ResolveProgressChangedEventArgs(PeerNameRecord, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.