DataSource.NET
ISubjectErrorEvent Interface
NamespacesCaplin.DataSourceISubjectErrorEvent
Represents an event raised when there is an error in a subscription to a subject.
Declaration Syntax
C#Visual BasicVisual C++
public interface ISubjectErrorEvent
Public Interface ISubjectErrorEvent
public interface class ISubjectErrorEvent
Members
All MembersProperties



IconMemberDescription
Error
Gets the SubjectError relating to the ISubjectErrorEvent.

Subject
Gets the subject of the subscription relating to the ISubjectErrorEvent.

Remarks

Usage in DataSource source applications

An ISubjectErrorEvent can be raised by a source application (that is, a DataSource application sending data to its DataSource peers). The following are typical situations in which a source application may wish to raise an ISubjectErrorEvent:

  • A subject is not available from the back end feed system that feeds data to an IDataProvider
  • A subject was available on the back end feed system but is no longer available.

Usage in DataSource sink applications

An ISubjectErrorEvent can be received by a sink application (that is, a DataSource application receiving data from its DataSource peers).

Situations where an ISubjectErrorEvent can be raised before any data is received include:

  • A connected DataSource peer cannot supply data for the requested subject.
  • No response has been received for the Subscription request.

Situations where an ISubjectErrorEvent can be raised after data is received include:

  • The subject has been deleted by one of the sending DataSources

The Error property provides more information about why the the ISubjectErrorEvent was raised.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 6.2.6.2123 (6.2.6.2123)