Microsoft.ServiceFabric.Services.Communication.Client Namespace

Contains classes and interfaces that support access to attributes of a communication client.

Classes

CommunicationClientEventArgs

Specifies the arguments for the communication client connected/disconnected events handler.

CommunicationClientEventArgs<TCommunicationClient>

Specifies the arguments for the communication client connected/disconnected events handler.

CommunicationClientFactoryBase<TCommunicationClient>

Provides the base implementation of ICommunicationClientFactory for creating communication clients to talk to service fabric services. Extend the CommunicationClientFactoryBase class to create communication clients for custom transport implementations. This class maintains a cache of communication clients and attempts to reuse the clients for requests to the same service endpoint.

ExceptionHandlingResult

Specifies the base class for the result from handling an exception during client to service communication.

ExceptionHandlingRetryResult

Specifies the exception handling result when the request from client to service can be retried

ExceptionHandlingThrowResult

Specifies the exception handling result when the request from client to service cannot be retried

ExceptionInformation

Specifies the class that encapsulates the exception seen on the communication channel and additional information required to handle that exception.

OperationRetryControl

Specifies the retry policy for the exceptions got on the communication from client to service.

OperationRetrySettings

Specifies the policy for retrying requests on exceptions in the communication channel between client and service replicas.

ServicePartitionClient<TCommunicationClient>

Specifies an instance of the communication client that can communicate with the replicas of a particular partition.

Interfaces

ICommunicationClient

Defines the interface that represents the communication client for reliable services.

ICommunicationClientFactory<TCommunicationClient>

Defines the interface that must be implemented to provide a factory for communication clients to talk to a service fabric service.

IExceptionHandler

Defines the interface for handling the exceptions encountered in communicating with service fabric services.

IServicePartitionClient<TCommunicationClient>

Defines the interface for the client that can communicate with replicas of a particular service partition.

Enums

TargetReplicaSelector

This enumeration specifies how the target replica or instance should be chosen when creating a communication channel for a particular partition.