共用方式為


GrainReference 建構函式

定義

多載

GrainReference(GrainReference)

建構粒紋參考的複本。

GrainReference(GrainReference, InvokeMethodOptions)
GrainReference(GrainReferenceShared, IdSpan)

初始化 GrainReference 類別的新執行個體。

GrainReference(SerializationInfo, StreamingContext)

GrainReference(GrainReference)

來源:
GrainReference.cs

建構粒紋參考的複本。

protected GrainReference (Orleans.Runtime.GrainReference other);
new Orleans.Runtime.GrainReference : Orleans.Runtime.GrainReference -> Orleans.Runtime.GrainReference
Protected Sub New (other As GrainReference)

參數

other
GrainReference

要複製的參考。

適用於

GrainReference(GrainReference, InvokeMethodOptions)

來源:
GrainReference.cs
protected internal GrainReference (Orleans.Runtime.GrainReference other, Orleans.CodeGeneration.InvokeMethodOptions invokeMethodOptions);
new Orleans.Runtime.GrainReference : Orleans.Runtime.GrainReference * Orleans.CodeGeneration.InvokeMethodOptions -> Orleans.Runtime.GrainReference
Protected Friend Sub New (other As GrainReference, invokeMethodOptions As InvokeMethodOptions)

參數

invokeMethodOptions
InvokeMethodOptions

適用於

GrainReference(GrainReferenceShared, IdSpan)

初始化 GrainReference 類別的新執行個體。

protected GrainReference (Orleans.Runtime.GrainReferenceShared shared, Orleans.Runtime.IdSpan key);
new Orleans.Runtime.GrainReference : Orleans.Runtime.GrainReferenceShared * Orleans.Runtime.IdSpan -> Orleans.Runtime.GrainReference
Protected Sub New (shared As GrainReferenceShared, key As IdSpan)

參數

shared
GrainReferenceShared

由指定型別的所有粒紋參考共用的粒紋參考功能。

key
IdSpan

粒紋識別碼的索引鍵部分。

適用於

GrainReference(SerializationInfo, StreamingContext)

來源:
GrainReference.cs
protected GrainReference (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Runtime.GrainReference : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.GrainReference
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

適用於