다음을 통해 공유


ActorReference Class

Definition

Encapsulation of a reference to an actor for serialization.

[System.Runtime.Serialization.DataContract(Name="ActorReference", Namespace="urn:actors")]
[System.Serializable]
public sealed class ActorReference
[<System.Runtime.Serialization.DataContract(Name="ActorReference", Namespace="urn:actors")>]
[<System.Serializable>]
type ActorReference = class
Public NotInheritable Class ActorReference
Inheritance
ActorReference
Attributes

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 or sets 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