StateStorageBridge<TState> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StateStorageBridge<TState>(String, IGrainContext, IGrainStorage)
public StateStorageBridge (string name, Orleans.Runtime.IGrainContext grainContext, Orleans.Storage.IGrainStorage store);
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.IGrainContext * Orleans.Storage.IGrainStorage -> Orleans.Core.StateStorageBridge<'State>
Public Sub New (name As String, grainContext As IGrainContext, store As IGrainStorage)
参数
- name
- String
- grainContext
- IGrainContext
- store
- IGrainStorage
适用于
StateStorageBridge<TState>(String, GrainReference, IGrainStorage, ILoggerFactory)
- Source:
- StateStorageBridge.cs
public StateStorageBridge (string name, Orleans.Runtime.GrainReference grainRef, Orleans.Storage.IGrainStorage store, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Core.StateStorageBridge<'State (requires 'State : (new : unit -> 'State))> : string * Orleans.Runtime.GrainReference * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Core.StateStorageBridge<'State (requires 'State : (new : unit -> 'State))>
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.GrainReference * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Core.StateStorageBridge<'State>
Public Sub New (name As String, grainRef As GrainReference, store As IGrainStorage, loggerFactory As ILoggerFactory)
参数
- name
- String
- grainRef
- GrainReference
- store
- IGrainStorage
- loggerFactory
- ILoggerFactory
适用于
StateStorageBridge<TState>(String, IGrainContext, IGrainStorage, ILoggerFactory, IActivatorProvider)
注意
Use StateStorageBridge(string, IGrainContext, IGrainStorage) instead.
public StateStorageBridge (string name, Orleans.Runtime.IGrainContext grainContext, Orleans.Storage.IGrainStorage store, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Serialization.Serializers.IActivatorProvider activatorProvider);
[System.Obsolete("Use StateStorageBridge(string, IGrainContext, IGrainStorage) instead.")]
public StateStorageBridge (string name, Orleans.Runtime.IGrainContext grainContext, Orleans.Storage.IGrainStorage store, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Serialization.Serializers.IActivatorProvider activatorProvider);
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.IGrainContext * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Serialization.Serializers.IActivatorProvider -> Orleans.Core.StateStorageBridge<'State>
[<System.Obsolete("Use StateStorageBridge(string, IGrainContext, IGrainStorage) instead.")>]
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.IGrainContext * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Serialization.Serializers.IActivatorProvider -> Orleans.Core.StateStorageBridge<'State>
Public Sub New (name As String, grainContext As IGrainContext, store As IGrainStorage, loggerFactory As ILoggerFactory, activatorProvider As IActivatorProvider)
参数
- name
- String
- grainContext
- IGrainContext
- store
- IGrainStorage
- loggerFactory
- ILoggerFactory
- activatorProvider
- IActivatorProvider
- 属性