ActorReference.Bind(Type) Method
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.
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
Azure SDK for .NET