IGrainFactory.DeleteObjectReference<TGrainObserverInterface> 方法

定义

删除提供的对象引用。

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

类型参数

TGrainObserverInterface

特定 IGrainObserver 类型的 obj

参数

obj
IGrainObserver

正在删除的引用。

返回

表示 Task 所执行的工作。

适用于