Interface ITopicUpdateContextCallback<TC>
Contextual callback for update operations.
Provides notification of update success or failure, with a context object provided from the initial update call.
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicUpdateContextCallback<in TC>
Type Parameters
Name | Description |
---|---|
TC |
Methods
OnError(String, TopicSourceErrorDetails, TC)
Notifies a failed update.
Declaration
void OnError(string topicPath, TopicSourceErrorDetails error, TC context)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The topic path the update was for. |
TopicSourceErrorDetails | error | The update error. |
TC | context | The context object that the update was called with. |
OnSuccess(String, TC)
Indicates a successful update.
Declaration
void OnSuccess(string topicPath, TC context)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The topic path the update was for. |
TC | context | The context object that the update was called with. |