Share via


ActorProxy Class

Definition

Provides the base implementation for the proxy to the remote actor objects implementing IActor interfaces. The proxy object can be used used for client-to-actor and actor-to-actor communication.

public abstract class ActorProxy : Microsoft.ServiceFabric.Services.Remoting.Builder.ProxyBase, Microsoft.ServiceFabric.Actors.Client.IActorProxy
type ActorProxy = class
    inherit ProxyBase
    interface IActorProxy
Public MustInherit Class ActorProxy
Inherits ProxyBase
Implements IActorProxy
Inheritance
ActorProxy
Implements

Constructors

ActorProxy()

Initializes a new instance of the ActorProxy class.

Properties

ActorId

Gets ActorId associated with the proxy object.

ActorServicePartitionClientV2

Gets the IActorServicePartitionClient interface that this proxy is using to communicate with the actor.

Methods

CheckIfItsWrappedRequest(IServiceRemotingRequestMessageBody)

This check if we are wrapping remoting message or not.

(Inherited from ProxyBase)
ContinueWith(Task<Object>)

This method is used by the generated proxy type and should be used directly. This method converts the Task with object return value to a Task without the return value for the void method invocation.

(Inherited from ProxyBase)
ContinueWithResultV2<TRetval>(Int32, Int32, Task<IServiceRemotingResponseMessageBody>)

Called by the generated proxy class to get the result from the response body.

(Inherited from ProxyBase)
Create<TActorInterface>(ActorId, String, String, String)

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

Create<TActorInterface>(ActorId, Uri, String)

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

CreateRequestMessageBodyV2(String, String, Int32, Object)

Creates the Remoting request message Body

(Inherited from ProxyBase)
GetReturnValue(Int32, Int32, Object)

This method is used by the generated proxy type and should be used directly. This method converts the Task with object return value to a Task without the return value for the void method invocation

(Inherited from ProxyBase)
InvokeAsyncV2(Int32, Int32, String, IServiceRemotingRequestMessageBody, CancellationToken)

Called by the generated proxy class to send the request to the remote object and get the response back.

(Inherited from ProxyBase)
InvokeV2(Int32, Int32, IServiceRemotingRequestMessageBody)

Called by the generated proxy class to send the requestMessage to the remote object.

(Inherited from ProxyBase)

Applies to