C# Класс GettingStarted.PublishingClient.AddCallback

Наследование: ITopicControlAddCallback
Показать файл Открыть проект

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

Метод Описание
AddCallback ( TaskCompletionSource completionSource ) : System
OnDiscard ( ) : void

This is called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for the context.

OnTopicAddFailed ( string topicPath, TopicAddFailReason reason ) : void

An attempt to add a topic has failed.

OnTopicAdded ( string topicPath ) : void

Topic has been added.

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

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

public AddCallback ( TaskCompletionSource completionSource ) : System
completionSource TaskCompletionSource
Результат System

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

This is called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for the context.
public OnDiscard ( ) : void
Результат void

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

An attempt to add a topic has failed.
public OnTopicAddFailed ( string topicPath, TopicAddFailReason reason ) : void
topicPath string The topic path as supplied to the add request.
reason TopicAddFailReason The reason for failure.
Результат void

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

Topic has been added.
public OnTopicAdded ( string topicPath ) : void
topicPath string The full path of the topic that was added.
Результат void