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: