ResolveAsync Method

PeerNameResolver.ResolveAsync Method

 

These methods begin an asynchronous resolution operation for the specified PeerName in all clouds known to the calling peer.

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

NameDescription
System_CAPS_pubmethodResolveAsync(PeerName, Cloud, Int32, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in the specified Cloud. The resolution operation will resolve no more than maxRecords entries for the specified peer name.

System_CAPS_pubmethodResolveAsync(PeerName, Cloud, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in the specified Cloud.

System_CAPS_pubmethodResolveAsync(PeerName, Int32, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in all clouds known to the calling peer, returning no more than maxRecords entries for the peer name.

System_CAPS_pubmethodResolveAsync(PeerName, Object)

Begins an asynchronous peer name resolution operation for the specified PeerName in all clouds known to the calling peer.

For every Resolve method, there is an equivalent ResolveAsync method, which is used when asynchronous processing is required. They are identical in the parameters they are passed, except that ResolveAsync includes a system token in its parameter list for event handling.

If a parameter mismatch occurs between the Resolve method and the ResolveAsync method, and the Cloud parameter is not supplied, the method uses the Available shortcut to fill in cloud parameters.

Return to top
Show:
© 2016 Microsoft