Compartir a través de


IGrainFactory.CreateObjectReference<TGrainObserverInterface> Método

Definición

Crea una referencia al objeto proporcionado obj.

public System.Threading.Tasks.Task<TGrainObserverInterface> CreateObjectReference<TGrainObserverInterface> (Orleans.IGrainObserver obj) where TGrainObserverInterface : Orleans.IGrainObserver;
public TGrainObserverInterface CreateObjectReference<TGrainObserverInterface> (Orleans.IGrainObserver obj) where TGrainObserverInterface : Orleans.IGrainObserver;
abstract member CreateObjectReference : Orleans.IGrainObserver -> System.Threading.Tasks.Task<'GrainObserverInterface (requires 'GrainObserverInterface :> Orleans.IGrainObserver)> (requires 'GrainObserverInterface :> Orleans.IGrainObserver)
abstract member CreateObjectReference : Orleans.IGrainObserver -> 'GrainObserverInterface (requires 'GrainObserverInterface :> Orleans.IGrainObserver)
Public Function CreateObjectReference(Of TGrainObserverInterface As IGrainObserver) (obj As IGrainObserver) As Task(Of TGrainObserverInterface)
Public Function CreateObjectReference(Of TGrainObserverInterface As IGrainObserver) (obj As IGrainObserver) As TGrainObserverInterface

Parámetros de tipo

TGrainObserverInterface

Tipo específico IGrainObserver de obj.

Parámetros

obj
IGrainObserver

Objeto al que se va a crear una referencia.

Devoluciones

Task<TGrainObserverInterface>
TGrainObserverInterface

Referencia a obj.

Se aplica a