다음을 통해 공유


IGrainRuntime.GetStorage 메서드

정의

오버로드

GetStorage<TGrainState>(Grain)
GetStorage<TGrainState>(IGrainContext)

제공된 조직에 대한 조직 스토리지를 가져옵니다.

GetStorage<TGrainState>(Grain)

Source:
IGrainRuntime.cs
public Orleans.Core.IStorage<TGrainState> GetStorage<TGrainState> (Orleans.Grain grain) where TGrainState : new();
public Orleans.Core.IStorage<TGrainState> GetStorage<TGrainState> (Orleans.Grain grain);
abstract member GetStorage : Orleans.Grain -> Orleans.Core.IStorage<'GrainState (requires 'GrainState : (new : unit -> 'GrainState))> (requires 'GrainState : (new : unit -> 'GrainState))
abstract member GetStorage : Orleans.Grain -> Orleans.Core.IStorage<'GrainState>
Public Function GetStorage(Of TGrainState As New) (grain As Grain) As IStorage(Of TGrainState)
Public Function GetStorage(Of TGrainState) (grain As Grain) As IStorage(Of TGrainState)

형식 매개 변수

TGrainState

매개 변수

grain
Grain

반환

IStorage<TGrainState>

적용 대상

GetStorage<TGrainState>(IGrainContext)

제공된 조직에 대한 조직 스토리지를 가져옵니다.

public Orleans.Core.IStorage<TGrainState> GetStorage<TGrainState> (Orleans.Runtime.IGrainContext grainContext);
abstract member GetStorage : Orleans.Runtime.IGrainContext -> Orleans.Core.IStorage<'GrainState>
Public Function GetStorage(Of TGrainState) (grainContext As IGrainContext) As IStorage(Of TGrainState)

형식 매개 변수

TGrainState

조직 상태 유형입니다.

매개 변수

grainContext
IGrainContext

조직 컨텍스트입니다.

반환

IStorage<TGrainState>

제공된 조직에 대한 조직 스토리지입니다.

적용 대상