ITopicClient インターフェイス

定義

TopicClient は、Service Bus トピックとのすべての基本的な操作に使用できます。

public interface ITopicClient : Microsoft.Azure.ServiceBus.Core.ISenderClient
type ITopicClient = interface
    interface ISenderClient
    interface IClientEntity
Public Interface ITopicClient
Implements ISenderClient
派生
実装

新しい TopicClient を作成する

ITopicClient topicClient = new TopicClient(
    namespaceConnectionString,
    topicName,
    RetryExponential);

トピックにメッセージを送信します。

byte[] data = GetData();
await topicClient.SendAsync(data);

プロパティ

ClientId

このクライアントを識別する ID を取得します。 これは、ログと例外を関連付けるために使用できます。

(継承元 IClientEntity)
IsClosedOrClosing

クライアントが閉じているか閉じている場合は true を返します。

(継承元 IClientEntity)
OperationTimeout

個々の操作がタイムアウトする期間。

(継承元 IClientEntity)
OwnsConnection

接続が所有されている場合は true、接続が共有されている場合は false を返します。

(継承元 IClientEntity)
Path

エンティティ パスを取得します。

(継承元 IClientEntity)
RegisteredPlugins

このクライアントの現在登録されているプラグインの一覧を取得します。

(継承元 IClientEntity)
ServiceBusConnection

Service Bus 名前空間への接続オブジェクト。

(継承元 IClientEntity)
TopicName

トピックの名前を取得します。

メソッド

CancelScheduledMessageAsync(Int64)

スケジュールされたメッセージを取り消します。

(継承元 ISenderClient)
CloseAsync()

クライアントを閉じます。 その接続によって開かれた接続を閉じます。

(継承元 IClientEntity)
RegisterPlugin(ServiceBusPlugin)

ServiceBusPluginこのクライアントで使用する を登録します。

(継承元 IClientEntity)
ScheduleMessageAsync(Message, DateTimeOffset)

Service Bus にメッセージを表示するようにスケジュールします。

(継承元 ISenderClient)
SendAsync(IList<Message>)

メッセージの一覧を Service Bus に送信します。 パーティション分割されたエンティティで呼び出されると、異なるパーティション用のメッセージを一緒にバッチ処理することはできません。

(継承元 ISenderClient)
SendAsync(Message)

Service Bus にメッセージを送信します。

(継承元 ISenderClient)
UnregisterPlugin(String)

の登録を ServiceBusPlugin解除します。

(継承元 IClientEntity)

適用対象