FabricTransportServiceRemotingClientFactory クラス

定義

IServiceRemotingClientFactoryファブリック TCP トランスポートを使用して、 を介してFabricTransportServiceRemotingListenerリモート化されたインターフェイス経由でステートレスおよびステートフル サービスと通信する を作成IServiceRemotingClientする 。

public class FabricTransportServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClientFactory<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient>, Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory
type FabricTransportServiceRemotingClientFactory = class
    interface IServiceRemotingClientFactory
    interface ICommunicationClientFactory<IServiceRemotingClient>
Public Class FabricTransportServiceRemotingClientFactory
Implements ICommunicationClientFactory(Of IServiceRemotingClient), IServiceRemotingClientFactory
継承
FabricTransportServiceRemotingClientFactory
派生
実装

コンストラクター

FabricTransportServiceRemotingClientFactory(FabricTransportRemotingSettings, IServiceRemotingCallbackMessageHandler, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String, IServiceRemotingMessageSerializationProvider, IEnumerable<IExceptionConvertor>)

FabricTransportServiceRemotingClientFactory クラスの新しいインスタンスを初期化します。 ファブリック トランスポート ベースのサービス リモート処理クライアント ファクトリを構築します。

メソッド

Dispose()

マネージド/アンマネージド リソースを解放します。 Dispose メソッドは、型情報を変更せず、破壊的変更にならないよう IDisposable にするのではなく、追加されています。

GetClientAsync(ResolvedServicePartition, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken)

1 つ以上の通信リスナーを含む指定されたサービスのパーティションを再解決し、指定された listenerName に対応するエンドポイントと通信するクライアントを返します。 サービスのエンドポイントは、{"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}} の形式です

GetClientAsync(Uri, ServicePartitionKey, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken)

1 つ以上の通信リスナーを含む指定されたサービスのパーティションを解決し、指定された listenerName に対応するエンドポイントと通信するクライアントを返します。 サービスのエンドポイントは、{"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}} の形式です

GetRemotingMessageBodyFactory()

リモート処理メッセージ本文を作成するためのファクトリを取得します。

ReportOperationExceptionAsync(IServiceRemotingClient, ExceptionInformation, OperationRetrySettings, CancellationToken)

サービスにメッセージを送信するときに CommunicationClient で発生する例外を処理します

イベント

ClientConnected

クライアントがサービス エンドポイントに接続されたときに発生するイベント ハンドラー。

ClientDisconnected

クライアントがサービス エンドポイントから切断されたときに発生するイベント ハンドラー。

適用対象