共用方式為


GrainReferenceShared 建構函式

定義

public GrainReferenceShared (Orleans.Runtime.GrainType grainType, Orleans.Runtime.GrainInterfaceType grainInterfaceType, ushort interfaceVersion, Orleans.Runtime.IGrainReferenceRuntime runtime, Orleans.CodeGeneration.InvokeMethodOptions invokeMethodOptions, Orleans.Serialization.Serializers.CodecProvider codecProvider, Orleans.Serialization.Cloning.CopyContextPool copyContextPool, IServiceProvider serviceProvider);
new Orleans.Runtime.GrainReferenceShared : Orleans.Runtime.GrainType * Orleans.Runtime.GrainInterfaceType * uint16 * Orleans.Runtime.IGrainReferenceRuntime * Orleans.CodeGeneration.InvokeMethodOptions * Orleans.Serialization.Serializers.CodecProvider * Orleans.Serialization.Cloning.CopyContextPool * IServiceProvider -> Orleans.Runtime.GrainReferenceShared
Public Sub New (grainType As GrainType, grainInterfaceType As GrainInterfaceType, interfaceVersion As UShort, runtime As IGrainReferenceRuntime, invokeMethodOptions As InvokeMethodOptions, codecProvider As CodecProvider, copyContextPool As CopyContextPool, serviceProvider As IServiceProvider)

參數

grainType
GrainType
grainInterfaceType
GrainInterfaceType
interfaceVersion
UInt16
invokeMethodOptions
InvokeMethodOptions
codecProvider
CodecProvider
copyContextPool
CopyContextPool
serviceProvider
IServiceProvider

適用於