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.

ActorServicePartitionClient

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

ActorServicePartitionClientV2

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

Methods

ContinueWith(Task<Object>)

Called by the generated proxy class to continue after getting the response body that does not have value.

(Inherited from ProxyBase)
ContinueWithResult<TRetval>(Int32, Int32, Task<Object>)

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

(Inherited from ProxyBase)
ContinueWithResultV2<TRetval>(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)

Creates the Remoting request message Body

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

Implemented by the derived class to type cast the response body and extract the value from it.

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

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

(Inherited from ProxyBase)
InvokeAsync(Int32, Int32, Object, CancellationToken)

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

(Inherited from ProxyBase)
InvokeAsyncV2(Int32, Int32, 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