SocketTools .NET Edition

DnsClient.LastError Property

Set or return the last error that occurred.

[Visual Basic]
Public Property LastError As ErrorCode
[C#]
public DnsClient.ErrorCode LastError {get; set;}

Property Value

An ErrorCode enumeration type.

Remarks

The LastError property can be read to determine the last error that occurred for this control. If a value is assigned to this property, it must either be zero to clear the error or a valid error code for the control.

See Also

DnsClient Class | SocketTools Namespace | ErrorCode Enumeration | LastErrorString Property