共用方式為


Microsoft.ServiceFabric.Services.Communication.Client Namespace

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.

ConstantRetryPolicy

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

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.

ExponentialRetryPolicy

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

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.

RetryDelayParameters

Specifies the Retry Paremeters for calculating retry delay for communication between client and services.

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.

IRetryPolicy

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

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.