共用方式為


ISystemTarget 介面

定義

這是系統目標的標記介面。 系統目標是內部運行時間對象,這些物件會與粒紋共用某些行為,但也會施加某些限制。 特別是:系統目標是異步可尋址的動作專案。 系統會為 ISystemTarget 產生 Proxy 類別,就像 IGrain 系統目標的 Proxy 類別是由運行時間排程器排程,並遵循回合型並行。

public interface ISystemTarget : Orleans.Runtime.IAddressable
type ISystemTarget = interface
    interface IAddressable
Public Interface ISystemTarget
Implements IAddressable
衍生
實作

擴充方法

AsReference(IAddressable, Type)

傳回所提供之粒紋的具型別參考。

AsReference<TGrainInterface>(IAddressable)

傳回所提供之粒紋的具型別參考。

BindGrainReference(IAddressable, IGrainFactory)

將粒紋參考系結至提供的 IGrainFactory

Cast(IAddressable, Type)

傳回所提供之粒紋的具型別參考。

Cast<TGrainInterface>(IAddressable)

傳回所提供之粒紋的具型別參考。

GetGrainId(IAddressable)

傳回對應至所提供粒紋的粒紋標識碼。

GetPrimaryKey(IAddressable)

Guid 回粒紋主鍵的表示。

GetPrimaryKey(IAddressable, String)

Guid 回粒紋主鍵的表示。

GetPrimaryKeyLong(IAddressable)

long 回粒紋主鍵的表示。

GetPrimaryKeyLong(IAddressable, String)

long 回粒紋主鍵的表示。

GetPrimaryKeyString(IAddressable)

string 回粒紋的主鍵。

IsPrimaryKeyBasedOnLong(IAddressable)

傳回主鍵的一部分是否為類型 long

適用於