Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ResolveCompletedEventArgs Constructor (PeerNameRecordCollection^, Exception^, Boolean, Object^)

 

Initializes a new instance of the ResolveCompletedEventArgs class.

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

public:
ResolveCompletedEventArgs(
	PeerNameRecordCollection^ peerNameRecordCollection,
	Exception^ error,
	bool canceled,
	Object^ userToken
)

Parameters

peerNameRecordCollection
Type: System.Net.PeerToPeer::PeerNameRecordCollection^

The collection associated with the peer name that was resolved.

error
Type: System::Exception^

Returns an exception if an error occurred.

canceled
Type: System::Boolean

True if the ResolveAsync operation was cancelled, otherwise False.

userToken
Type: System::Object^

The user token specified when a ResolveAsync operation was started.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft