GrainReference Constructors

Definition

Overloads

GrainReference(GrainReference)

Constructs a copy of a grain reference.

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

Initializes a new instance of the GrainReference class.

GrainReference(SerializationInfo, StreamingContext)

GrainReference(GrainReference)

Source:
GrainReference.cs

Constructs a copy of a grain reference.

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

Parameters

other
GrainReference

The reference to copy.

Applies to

GrainReference(GrainReference, InvokeMethodOptions)

Source:
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)

Parameters

invokeMethodOptions
InvokeMethodOptions

Applies to

GrainReference(GrainReferenceShared, IdSpan)

Initializes a new instance of the GrainReference class.

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)

Parameters

shared
GrainReferenceShared

The grain reference functionality which is shared by all grain references of a given type.

key
IdSpan

The key portion of the grain id.

Applies to

GrainReference(SerializationInfo, StreamingContext)

Source:
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)

Parameters

Applies to