Unsubscribed Event

Fired when the component has unsubscribed from a message destination on the server.

Syntax

public event OnUnsubscribedHandler OnUnsubscribed;

public delegate void OnUnsubscribedHandler(object sender, StompUnsubscribedEventArgs e);

public class StompUnsubscribedEventArgs : EventArgs {
  public string Id { get; }
  public string Destination { get; }
}
Public Event OnUnsubscribed As OnUnsubscribedHandler

Public Delegate Sub OnUnsubscribedHandler(sender As Object, e As StompUnsubscribedEventArgs)

Public Class StompUnsubscribedEventArgs Inherits EventArgs
  Public ReadOnly Property Id As String
  Public ReadOnly Property Destination As String
End Class

Remarks

This event fires each time the component has unsubscribed from a message destination on the server. The following parameters are available within this event:

  • Id: The Id that was used to identify the subscription.
  • Destination: The message destination on the server which the subscription was associated with.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 .NET Edition - Version 20.0 [Build 8265]