다음을 통해 공유


IGrainFactory.CreateObjectReference<TGrainObserverInterface> 메서드

정의

제공된 에 대한 참조를 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

형식 매개 변수

TGrainObserverInterface

의 특정 IGrainObserver 형식입니다 obj.

매개 변수

obj
IGrainObserver

참조를 만들 개체입니다.

반환

Task<TGrainObserverInterface>
TGrainObserverInterface

에 대한 참조입니다 obj.

적용 대상