共用方式為


IMessageSessionHandler.OnSessionLost(Exception) Method

Definition

Raises an event that occurs when the session has been lost.

public void OnSessionLost (Exception exception);
abstract member OnSessionLost : Exception -> unit
Public Sub OnSessionLost (exception As Exception)

Parameters

exception
Exception

The error that caused the lost session.

Applies to