ActorReference Class

Definition

Encapsulation of a reference to an actor for serialization.

[System.Runtime.Serialization.DataContract(Name="ActorReference", Namespace="urn:actors")]
public sealed class ActorReference
type ActorReference = class
    interface IActorReference
Public NotInheritable Class ActorReference
Inheritance
System.Object
ActorReference
Attributes
System.Runtime.Serialization.DataContractAttribute

Constructors

ActorReference()

Initializes a new instance of the ActorReference class.

Properties

ActorId

Gets or sets the ActorId of the actor.

ListenerName

Gets or sets the name of the listener in the actor service to use when communicating with the actor service.

ServiceUri

Gets Uri of the actor service that hosts the actor in service fabric cluster.

Methods

Bind(Type)

Creates an ActorProxy that implements an actor interface for the actor using the Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory.CreateActorProxy(System.Type,System.Uri,Microsoft.ServiceFabric.Actors.ActorId,System.String) method.

Get(Object)

Gets ActorReference for the actor.

Applies to