다음을 통해 공유


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
Type

Actor interface for the created ActorProxy to implement.

Returns

An actor proxy object that implements IActorProxy and TActorInterface.

Applies to