IServiceRemotingClientFactory Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A factory for creating service remoting clients.
public interface IServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClientFactory<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient>
type IServiceRemotingClientFactory = interface
interface ICommunicationClientFactory<IServiceRemotingClient>
Public Interface IServiceRemotingClientFactory
Implements ICommunicationClientFactory(Of IServiceRemotingClient)
- Derived
- Implements
Methods
GetClientAsync(ResolvedServicePartition, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken) |
Re-resolves a partition of the specified service containing one or more communication listeners and returns a client to communicate to the endpoint corresponding to the given listenerName. The endpoint of the service is of the form - {"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}} (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
GetClientAsync(Uri, ServicePartitionKey, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken) |
Resolves a partition of the specified service containing one or more communication listeners and returns a client to communicate to the endpoint corresponding to the given listenerName. The endpoint of the service is of the form - {"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}} (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
GetRemotingMessageBodyFactory() |
Gets a factory for creating the remoting message bodies. |
ReportOperationExceptionAsync(TCommunicationClient, ExceptionInformation, OperationRetrySettings, CancellationToken) |
Handles the exceptions that occur in the CommunicationClient when sending a message to the Service (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
Events
ClientConnected |
Event handler that is fired when the Communication client connects to the service endpoint. (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
ClientDisconnected |
Event handler that is fired when the Communication client disconnects from the service endpoint. (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應