共用方式為


ConnectionStatusChangedEventHandler 代理人

定義

接收線上狀態更新的委派。

public delegate void ConnectionStatusChangedEventHandler(ConnectionStatus status, Result error);
public delegate void ConnectionStatusChangedEventHandler(ConnectionStatus status, Result error);
type ConnectionStatusChangedEventHandler = delegate of ConnectionStatus * Result -> unit
Public Delegate Sub ConnectionStatusChangedEventHandler(status As ConnectionStatus, error As Result)

參數

status
ConnectionStatus

新的線上狀態。

error
Result

意外中斷連線時的其他錯誤資訊。

適用於

另請參閱