Partilhar via


IGrainFactory.CreateObjectReference<TGrainObserverInterface> Método

Definição

Cria uma referência ao fornecido 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

O tipo específico IGrainObserver de obj.

Parâmetros

obj
IGrainObserver

O objeto ao qual criar uma referência.

Retornos

Task<TGrainObserverInterface>
TGrainObserverInterface

A referência a obj.

Aplica-se a