共用方式為


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 表示執行的工作。

適用於