IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

RequestComplete Event

Fired after an asynchronous request completes.

Syntax

[VB.NET]
Public Event OnRequestComplete As OnRequestCompleteHandler
[C#]
public event OnRequestCompleteHandler OnRequestComplete;

public delegate void OnRequestCompleteHandler(object sender, IpinfoRequestCompleteEventArgs e);

class IpinfoRequestCompleteEventArgs : EventArgs {
  int RequestId {get;}
  int StatusCode {get;}
  string Description {get;}
}

Remarks

The RequestId parameter specifies the request that just completed. The component properties that relate to this request are completed with the returned values. (For example, in the case of domain name resolution, HostName, HostAddress, HostAliases, and OtherAddresses are set to the resolved values.)

If the request completed normally, StatusCode is 0, and Description is "OK". If not, StatusCode has the error code returned by the system. Description contains a description of this code.

Please refer to the Error Messages section for more information.

NOTE: This functionality is only available in Windows.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]