Represents an event raised when there is an error in a subscription.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public interface ISubscriptionErrorEvent
Public Interface ISubscriptionErrorEvent
public interface class ISubscriptionErrorEvent
![](../icons/collapse_all.gif)
All Members | Properties | ||||
Icon | Member | Description |
---|---|---|
![]() | Code |
Gets a specific status code relating to the ISubscriptionErrorEvent |
![]() | Error |
Gets the SubscriptionError relating to the ISubscriptionErrorEvent.
|
![]() | Subject |
Gets the subject of the subscription relating to the ISubscriptionErrorEvent.
|
![](../icons/collapse_all.gif)
When StreamLink encounters an error in a subscription it raises an event. To do this it
- creates an ISubscriptionErrorEvent,
- passes the ISubscriptionErrorEvent to the SubscriptionErrorReceived(ISubscription, ISubscriptionErrorEvent) method of the ISubscriptionListener associated with the subscription.
Situations where an ISubscriptionErrorEvent can be raised before any data is received include:
- There are no DataSources connected to the Liberator and the subject is not already cached within the Liberator.
- The connected DataSources cannot supply data for the requested subject.
- The username supplied by the application does not have sufficient permission to subscribe to the requested data.
Situations where an ISubscriptionErrorEvent can be raised after data is received include:
- The subject has been deleted either by a DataSource or by another a StreamLink client.
- The user’s permission to access the data on the Liberator has been revoked by a Liberator administrator.