ComponentSpace Who Is Class Library Reference

WhoIsClient.EndLookup Method 

Completes the specified asynchronous lookup operation.

[Visual Basic]
Public Function EndLookup( _
   ByVal asyncResult As IAsyncResult _
) As String
[C#]
public string EndLookup(
   IAsyncResult asyncResult
);

Parameters

asyncResult
The IAsyncResult that identifies the asynchronous lookup operation to finish, and from which to retrieve an end result.

Return Value

The who is response from the server.

Remarks

When the LookupCompleted event is raised, EndLookup completes the operation that was initiated by the BeginLookup call.

Exceptions

Exception Type Condition
WhoIsException Thrown when the message cannot be sent.

See Also

WhoIsClient Class | ComponentSpace.WhoIs Namespace