C# Класс PushTechnology.ClientInterface.GettingStarted.UpdateCallback

A simple ITopicUpdaterUpdateCallback implementation that prints confimation of the actions completed.
Наследование: ITopicUpdaterUpdateCallback
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
OnError ( ErrorReason errorReason ) : void

Notification of a contextual error related to this callback.

Situations in which OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.

OnSuccess ( ) : void

Indicates a successful update.

UpdateCallback ( string topic ) : System

Constructor.

Описание методов

OnError() публичный Метод

Notification of a contextual error related to this callback.
Situations in which OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.
public OnError ( ErrorReason errorReason ) : void
errorReason ErrorReason A value representing the error
Результат void

OnSuccess() публичный Метод

Indicates a successful update.
public OnSuccess ( ) : void
Результат void

UpdateCallback() публичный Метод

Constructor.
public UpdateCallback ( string topic ) : System
topic string The topic path
Результат System