Export (0) Print
Expand All

ResolveCompletedEventArgs Constructor

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 PeerNameResolver operation was cancelled, otherwise False.

userToken
Type: System.Object

The user token specified when a ResolveAsync operation was started.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft