Export (0) Print
Expand All

PeerNameResolver.ResolveAsync Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ResolveAsync(PeerName, Object) Begins an asynchronous peer name resolution operation for the specified PeerName in all clouds known to the calling peer.
Public method ResolveAsync(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.
Public method ResolveAsync(PeerName, Cloud, Object) Begins an asynchronous peer name resolution operation for the specified PeerName in the specified Cloud.
Public method ResolveAsync(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.
Top

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.

Community Additions

ADD
Show:
© 2014 Microsoft