SerializationManager 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SerializationManager(IServiceProvider, IMessagingConfiguration, ITraceConfiguration)
public SerializationManager (IServiceProvider serviceProvider, Orleans.Runtime.Configuration.IMessagingConfiguration config, Orleans.Runtime.Configuration.ITraceConfiguration traceConfig);
new Orleans.Serialization.SerializationManager : IServiceProvider * Orleans.Runtime.Configuration.IMessagingConfiguration * Orleans.Runtime.Configuration.ITraceConfiguration -> Orleans.Serialization.SerializationManager
Public Sub New (serviceProvider As IServiceProvider, config As IMessagingConfiguration, traceConfig As ITraceConfiguration)
参数
- serviceProvider
- IServiceProvider
- config
- IMessagingConfiguration
- traceConfig
- ITraceConfiguration
适用于
SerializationManager(IServiceProvider, IOptions<SerializationProviderOptions>, ILoggerFactory, ITypeResolver, SerializationStatisticsGroup, Int32)
- Source:
- SerializationManager.cs
public SerializationManager (IServiceProvider serviceProvider, Microsoft.Extensions.Options.IOptions<Orleans.Configuration.SerializationProviderOptions> serializationProviderOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Runtime.ITypeResolver typeResolver, Orleans.Serialization.SerializationStatisticsGroup serializationStatistics, int largeMessageWarningThreshold);
new Orleans.Serialization.SerializationManager : IServiceProvider * Microsoft.Extensions.Options.IOptions<Orleans.Configuration.SerializationProviderOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Runtime.ITypeResolver * Orleans.Serialization.SerializationStatisticsGroup * int -> Orleans.Serialization.SerializationManager
Public Sub New (serviceProvider As IServiceProvider, serializationProviderOptions As IOptions(Of SerializationProviderOptions), loggerFactory As ILoggerFactory, typeResolver As ITypeResolver, serializationStatistics As SerializationStatisticsGroup, largeMessageWarningThreshold As Integer)
参数
- serviceProvider
- IServiceProvider
- serializationProviderOptions
- IOptions<SerializationProviderOptions>
- loggerFactory
- ILoggerFactory
- typeResolver
- ITypeResolver
- serializationStatistics
- SerializationStatisticsGroup
- largeMessageWarningThreshold
- Int32
适用于
SerializationManager(IServiceProvider, IOptions<SerializationProviderOptions>, ILoggerFactory, ITypeResolver, SerializationStatisticsGroup, Int32, Int32, Int32)
public SerializationManager (IServiceProvider serviceProvider, Microsoft.Extensions.Options.IOptions<Orleans.Configuration.SerializationProviderOptions> serializationProviderOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Runtime.ITypeResolver typeResolver, Orleans.Serialization.SerializationStatisticsGroup serializationStatistics, int largeMessageWarningThreshold, int maxMessageHeaderSize, int maxMessageBodySize);
new Orleans.Serialization.SerializationManager : IServiceProvider * Microsoft.Extensions.Options.IOptions<Orleans.Configuration.SerializationProviderOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Runtime.ITypeResolver * Orleans.Serialization.SerializationStatisticsGroup * int * int * int -> Orleans.Serialization.SerializationManager
Public Sub New (serviceProvider As IServiceProvider, serializationProviderOptions As IOptions(Of SerializationProviderOptions), loggerFactory As ILoggerFactory, typeResolver As ITypeResolver, serializationStatistics As SerializationStatisticsGroup, largeMessageWarningThreshold As Integer, maxMessageHeaderSize As Integer, maxMessageBodySize As Integer)
参数
- serviceProvider
- IServiceProvider
- serializationProviderOptions
- IOptions<SerializationProviderOptions>
- loggerFactory
- ILoggerFactory
- typeResolver
- ITypeResolver
- serializationStatistics
- SerializationStatisticsGroup
- largeMessageWarningThreshold
- Int32
- maxMessageHeaderSize
- Int32
- maxMessageBodySize
- Int32