StreamLink for Silverlight
ISubscriptionErrorEvent Interface
StreamLink for SilverlightCaplin.StreamLink.SubscriptionISubscriptionErrorEvent
Represents an event raised when there is an error in a subscription.
Declaration Syntax
C#Visual BasicVisual C++
public interface ISubscriptionErrorEvent
Public Interface ISubscriptionErrorEvent
public interface class ISubscriptionErrorEvent
Members
All MembersProperties



IconMemberDescription
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.

Remarks

When StreamLink encounters an error in a subscription it raises an event. To do this it

Once the subscription has been requested on the Liberator, an associated ISubscriptionErrorEvent event can be raised at any time, whether or not StreamLink has received any data relating to 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.

Assembly: Caplin.StreamLink.Silverlight (Module: Caplin.StreamLink.Silverlight) Version: 5.0.19.0 (5.0.19.0)