Share via


ActorProxyFactory Class

Definition

Represents a factory class to create a proxy to the remote actor objects.

public class ActorProxyFactory : Microsoft.ServiceFabric.Actors.Client.IActorProxyFactory
type ActorProxyFactory = class
    interface IActorProxyFactory
Public Class ActorProxyFactory
Implements IActorProxyFactory
Inheritance
ActorProxyFactory
Implements

Constructors

ActorProxyFactory(Func<IServiceRemotingCallbackMessageHandler,IServiceRemotingClientFactory>, OperationRetrySettings)

Initializes a new instance of the ActorProxyFactory class using V2 Remoting Client Factory.

ActorProxyFactory(OperationRetrySettings)

Initializes a new instance of the ActorProxyFactory class.

Methods

CreateActorProxy<TActorInterface>(ActorId, String, String, String)

Creates a proxy to the actor object that implements an actor interface.

CreateActorProxy<TActorInterface>(Uri, ActorId, String)

Creates a proxy to the actor object that implements an actor interface.

CreateActorServiceProxy<TServiceInterface>(Uri, ActorId, String)

Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface.

CreateActorServiceProxy<TServiceInterface>(Uri, Int64, String)

Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface.

Dispose()

Releases managed/unmanaged resources. Dispose Method is being added rather than making it IDisposable so that it doesn't change type information and wont be a breaking change.

Applies to