Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicUpdateContextCallback< in TC > Interface Template Reference

Contextual callback for update operations. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicUpdateContextCallback< in TC >:
PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicUpdateContextCallbackDefault< TC >

Public Member Functions

void OnSuccess (string topicPath, TC context)
 Indicates a successful update. More...
 
void OnError (string topicPath, TopicSourceErrorDetails error, TC context)
 Notifies a failed update. More...
 

Detailed Description

Contextual callback for update operations.

Deprecated:
ITopicUpdaterUpdateCallback, see ITopicUpdateControl.RegisterUpdateSource.

Provides notification of update success or failure, with a context object provided from the initial update call.

Template Parameters
TC

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicUpdateContextCallback< in TC >.OnError ( string  topicPath,
TopicSourceErrorDetails  error,
TC  context 
)

Notifies a failed update.

Parameters
topicPathThe topic path the update was for.
errorThe update error.
contextThe context object that the update was called with.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicUpdateContextCallbackDefault< TC >.

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicUpdateContextCallback< in TC >.OnSuccess ( string  topicPath,
TC  context 
)

Indicates a successful update.

Parameters
topicPathThe topic path the update was for.
contextThe context object that the update was called with.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicUpdateContextCallbackDefault< TC >.


The documentation for this interface was generated from the following file: