ActorReference.Bind(Type) Method

Definition

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.

public object Bind (Type actorInterfaceType);
abstract member Bind : Type -> obj
override this.Bind : Type -> obj
Public Function Bind (actorInterfaceType As Type) As Object

Parameters

actorInterfaceType
System.Type

Actor interface for the created ActorProxy to implement.

Returns

System.Object

An actor proxy object that implements IActorProxy and TActorInterface.

Implements

Microsoft.ServiceFabric.Actors.IActorReference.Bind(System.Type)

Applies to