共用方式為


GrainId(GrainType, IdSpan) 建構函式

定義

建立新的 GrainType 執行個體。

public GrainId (Orleans.Runtime.GrainType type, Orleans.Runtime.IdSpan key);
new Orleans.Runtime.GrainId : Orleans.Runtime.GrainType * Orleans.Runtime.IdSpan -> Orleans.Runtime.GrainId
Public Sub New (type As GrainType, key As IdSpan)

參數

type
GrainType
key
IdSpan

適用於