Udostępnij za pośrednictwem


WcfActorRemotingClientFactory Class

Definition

An Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory that uses Windows Communication Foundation to create Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClient to communicate with an actor service and actors hosted by it, using actor and service interfaces that are remoted via WcfActorServiceRemotingListener.

public class WcfActorRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V1.Wcf.Client.WcfServiceRemotingClientFactory
type WcfActorRemotingClientFactory = class
    inherit WcfServiceRemotingClientFactory
Public Class WcfActorRemotingClientFactory
Inherits WcfServiceRemotingClientFactory
Inheritance
WcfActorRemotingClientFactory

Constructors

WcfActorRemotingClientFactory(Binding, IServiceRemotingCallbackClient, IEnumerable<IExceptionHandler>, IServicePartitionResolver, String)

Initializes a new instance of the WcfActorRemotingClientFactory class.

WcfActorRemotingClientFactory(IServiceRemotingCallbackClient)

Initializes a new instance of the WcfActorRemotingClientFactory class.

Methods

Dispose()

Releases managed/unmanaged resources.

(Inherited from WcfServiceRemotingClientFactory)

Events

ClientConnected

Event handler that is fired when a client is connected to the service endpoint.

(Inherited from WcfServiceRemotingClientFactory)
ClientDisconnected

Event handler that is fired when a client is disconnected from the service endpoint.

(Inherited from WcfServiceRemotingClientFactory)

Explicit Interface Implementations

ICommunicationClientFactory<IServiceRemotingClient>.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 WcfServiceRemotingClientFactory)
ICommunicationClientFactory<IServiceRemotingClient>.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 WcfServiceRemotingClientFactory)
ICommunicationClientFactory<IServiceRemotingClient>.ReportOperationExceptionAsync(IServiceRemotingClient, ExceptionInformation, OperationRetrySettings, CancellationToken)

Handles the exceptions that occur in the CommunicationClient when sending a message to the Service

(Inherited from WcfServiceRemotingClientFactory)

Applies to