ActorProxy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |
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. |
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) |
InvokeV2(Int32, Int32, IServiceRemotingRequestMessageBody) |
Called by the generated proxy class to send the requestMessage to the remote object. (Inherited from ProxyBase) |