Status Event
Fired during connection or disconnection attempts.
Syntax
public event OnStatusHandler OnStatus; public delegate void OnStatusHandler(object sender, NetdialStatusEventArgs e); public class NetdialStatusEventArgs : EventArgs { public int Operation { get; } public int StatusCode { get; } public string OperationDescription { get; } public string StatusDescription { get; } }
Public Event OnStatus As OnStatusHandler Public Delegate Sub OnStatusHandler(sender As Object, e As NetdialStatusEventArgs) Public Class NetdialStatusEventArgs Inherits EventArgs Public ReadOnly Property Operation As Integer Public ReadOnly Property StatusCode As Integer Public ReadOnly Property OperationDescription As String Public ReadOnly Property StatusDescription As String End Class
Remarks
The Operation parameter indicates the operation currently in progress.
The StatusCode shows the status of the operation.
The OperationDescription and StatusDescription parameters are the corresponding descriptions.