Edit

Share via


ResolveCompletedEventArgs Constructor

Definition

Initializes a new instance of the ResolveCompletedEventArgs class.

public:
 ResolveCompletedEventArgs(System::Net::PeerToPeer::PeerNameRecordCollection ^ peerNameRecordCollection, Exception ^ error, bool canceled, System::Object ^ userToken);
public ResolveCompletedEventArgs (System.Net.PeerToPeer.PeerNameRecordCollection peerNameRecordCollection, Exception error, bool canceled, object userToken);
new System.Net.PeerToPeer.ResolveCompletedEventArgs : System.Net.PeerToPeer.PeerNameRecordCollection * Exception * bool * obj -> System.Net.PeerToPeer.ResolveCompletedEventArgs
Public Sub New (peerNameRecordCollection As PeerNameRecordCollection, error As Exception, canceled As Boolean, userToken As Object)

Parameters

peerNameRecordCollection
PeerNameRecordCollection

The collection associated with the peer name that was resolved.

error
Exception

Returns an exception if an error occurred.

canceled
Boolean

true if the ResolveAsync operation was cancelled; otherwise, false.

userToken
Object

The user token specified when a ResolveAsync operation was started.

Applies to