GrainReference 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GrainReference(GrainReference)
建構粒紋參考的複本。
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)
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)
參數
- other
- GrainReference
- 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)
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)
參數
- info
- SerializationInfo
- context
- StreamingContext