ConnectionStatusBehavior クラス

定義

Azure Service Busでリッスンしているサービスの接続状態へのアクセスを提供するエンドポイントの動作。

public class ConnectionStatusBehavior : Microsoft.ServiceBus.IConnectionStatus, System.ServiceModel.Description.IEndpointBehavior
type ConnectionStatusBehavior = class
    interface IEndpointBehavior
    interface IConnectionStatus
Public Class ConnectionStatusBehavior
Implements IConnectionStatus, IEndpointBehavior
継承
ConnectionStatusBehavior
実装

コンストラクター

ConnectionStatusBehavior()

ConnectionStatusBehavior クラスの新しいインスタンスを初期化します。

プロパティ

IsOnline

接続がオンラインかどうかを決定する値を取得します。

LastError

最後のエラーを取得します。

メソッド

Retry()

接続を再試行します。

イベント

Connecting

エンドポイントがリレー サービスから一時的に切断され、再接続が試行されるたびに発生します。

Offline

エンドポイントがリレー サービスへの接続を停止したときに発生します。

Online

エンドポイントがリレー サービスに正常に接続したときに発生します。

明示的なインターフェイスの実装

IEndpointBehavior.AddBindingParameters(ServiceEndpoint, BindingParameterCollection)

カスタム動作をサポートするために、実行時にデータをバインドに渡します。 この実装では何も行いません。

IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime)

この実装では何も行いません。

IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)

リスナー ランタイム接続状態イベントをフックします。

IEndpointBehavior.Validate(ServiceEndpoint)

このメソッドは何も実行しません。

適用対象