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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.