Delen via


MessageSessionAsyncHandler.IMessageSessionAsyncHandler.OnSessionLostAsync Method

Definition

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

System.Threading.Tasks.Task IMessageSessionAsyncHandler.OnSessionLostAsync (Exception exception);
abstract member Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler.OnSessionLostAsync : Exception -> System.Threading.Tasks.Task
override this.Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler.OnSessionLostAsync : Exception -> System.Threading.Tasks.Task
Function OnSessionLostAsync (exception As Exception) As Task Implements IMessageSessionAsyncHandler.OnSessionLostAsync

Parameters

exception
Exception

The exception occurred that caused the lost session.

Returns

The task object representing the asynchronous operation.

Implements

Applies to