C# Class GettingStarted.PublishingClient.UpdateCallback

Inheritance: ITopicUpdaterUpdateCallback
Afficher le fichier Open project: pushtechnology/diffusion-examples

Méthodes publiques

Méthode Description
OnError ( ErrorReason errorReason ) : void

Notification of a contextual error related to this callback. This is analogous to an exception being raised. 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.

Method Details

OnError() public méthode

Notification of a contextual error related to this callback. This is analogous to an exception being raised. 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 errorReason a value representing the error; this can be one of /// constants defined in , or a /// feature-specific reason.
Résultat void

OnSuccess() public méthode

Indicates a successful update.
public OnSuccess ( ) : void
Résultat void