Share via


IGrainActivationContext 介面

定義

與目前細微性啟用相關聯的內容。

public interface IGrainActivationContext
type IGrainActivationContext = interface
Public Interface IGrainActivationContext

屬性

ActivationServices

取得 , IServiceProvider 提供對細微性啟用服務容器的存取權。

GrainIdentity

取得細微性啟用的身分識別。

GrainInstance

取得與此啟用內容相關聯的細微性實例。 如果正在建立粒紋,此值將會是 null

GrainType

取得細微性啟用實例的 .NET 類型。

Items

取得索引鍵/值集合,可用來在細微性啟用範圍內共用資料。

ObservableLifecycle

可觀察的粒紋生命週期

RegistrationStrategy

此細微啟用的多叢集註冊策略。 由協調多個實例的通訊協定使用。

適用於