TransactionalStateFactory.GetJsonSerializerSettings 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetJsonSerializerSettings(IServiceProvider) | |
GetJsonSerializerSettings(ITypeResolver, IGrainFactory) |
GetJsonSerializerSettings(IServiceProvider)
public static Newtonsoft.Json.JsonSerializerSettings GetJsonSerializerSettings (IServiceProvider serviceProvider);
static member GetJsonSerializerSettings : IServiceProvider -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function GetJsonSerializerSettings (serviceProvider As IServiceProvider) As JsonSerializerSettings
參數
- serviceProvider
- IServiceProvider
傳回
Newtonsoft.Json.JsonSerializerSettings
適用於
GetJsonSerializerSettings(ITypeResolver, IGrainFactory)
public static Newtonsoft.Json.JsonSerializerSettings GetJsonSerializerSettings (Orleans.Runtime.ITypeResolver typeResolver, Orleans.IGrainFactory grainFactory);
static member GetJsonSerializerSettings : Orleans.Runtime.ITypeResolver * Orleans.IGrainFactory -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function GetJsonSerializerSettings (typeResolver As ITypeResolver, grainFactory As IGrainFactory) As JsonSerializerSettings
參數
- typeResolver
- ITypeResolver
- grainFactory
- IGrainFactory
傳回
Newtonsoft.Json.JsonSerializerSettings